Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tokenParsed instead of jwt-decode #6

Open
tswistak opened this issue Jul 13, 2021 · 1 comment
Open

Use tokenParsed instead of jwt-decode #6

tswistak opened this issue Jul 13, 2021 · 1 comment

Comments

@tswistak
Copy link
Contributor

Hi!

While browsing libraries code, I've found that it's using jwt-decode to decode the JWT token fetched from the Keycloak server. I think it would be better to use the tokenParsed property that is available in Keycloak's instance. There is all the data from the JWT token, and it won't be needed to enforce users to install jwt-decode.

Cheers!

@Jogai
Copy link

Jogai commented Apr 13, 2024

This fork does that: JoseGoncalves/vue-keycloak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants