-
Notifications
You must be signed in to change notification settings - Fork 61
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
Get id token claims #69
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@7opf Please, revert the last commit as the documentation is generated as part of the release process and here is just adding noise to the diff. Someone from the team will pick up later. Thanks!
46f7307
to
ace9df1
Compare
OK, I've reverted. Thank you. |
0182ca2
to
db4b364
Compare
Thanks for this @7opf - I've rebased to master and added a commit that allows our integration tests to run with a dummy user. Let me give it a quick test and get back to you 👍 |
By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
Added idTokenClaims$ observable to AuthServiece to expose the underlying getIdTokenClaims() function of auth0-spa.js in the same way as user$ observable.
Copied the user$ implementation and tests, replaced relevant bits with idTokenClaim.
Regenerated the docs with npm run build
Testing
Checklist
master