-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
If JWT custom claim field is string, parse as JSON #5513
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.
Reviewed 1 of 1 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @MichaelJCompton and @pawanrawal)
@dpeek Thank you for the PR! I will add a test to this and get it merged to master. Also, Can you provide me a JWT with a custom claim generated by Amazon Cognito? |
Hi @arijitAD, apologies for the delay, here is an example (expired) token:
|
Anything I can do to help get this merged? I've run out of other items on my todo so it's back to getting auth working :) |
@arijitAD can you get this through please. |
Thanks @arijitAD! |
Amazon Cognito does not support objects as JWT custom claim values. If custom claim is string, parse as JSON.
This change is