Skip to content

Use tokenParsed instead of jwt-decode #6

@tswistak

Description

@tswistak

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions