-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feature: idTokenData new IAuthContext value #47
Comments
I don't have the domain knowledge on OAuth, nor do I know the fundamental differences between these two token types. I think @soofstad will have to answer this. |
Absolutely @github-gael-soude, the library already has the capability to decode JWT's, so adding this should be fairly simple.
|
@soofstad thanks a lot. |
It could be great if we had idTokenData in the useContext.
Today I have to reprocess the idToken decoding inside my react code.
It adds a few complexity when it could be done easily directly in the library as for tokenData.
The decoded idToken can be used for example to display the groups of the logged user.
The text was updated successfully, but these errors were encountered: