Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fixes problem with multiple aud #791

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

Merged
mevdschee merged 1 commit into mevdschee:main from bcash:main
May 16, 2021
Merged

fixes problem with multiple aud #791

mevdschee merged 1 commit into mevdschee:main from bcash:main
May 16, 2021

Conversation

Copy link
Contributor

@bcash bcash commented May 8, 2021

In some cases, auth0 includes a second aud for userinfo endpoint. Tokens can have multiple target audiences as long as the custom API’s signing algorithm is set to RS256. Works with auth0 if machine-to-machine api userinfo is added as a second aud. This patch prevents JWT validation from failing in that case. See https://community.auth0.com/t/my-token-has-multiple-audiences-is-that-normal/41417

mevdschee reacted with thumbs up emoji mevdschee reacted with heart emoji
In some cases, auth0 includes a second aud for userinfo endpoint. Tokens can have multiple target audiences as long as the custom API’s signing algorithm is set to RS256. Works with auth0 if machine-to-machine api userinfo is added as a second aud. This patch prevents JWT validation from failing in that case. See https://community.auth0.com/t/my-token-has-multiple-audiences-is-that-normal/41417 
@mevdschee mevdschee merged commit 3502f4f into mevdschee:main May 16, 2021
Copy link
Owner

mevdschee commented May 16, 2021
edited
Loading

Hi Brian,

Thank you very much for your contribution. This looks like a very good commit to me. Sorry that it took me a while to review it. I needed some time to look at it properly.

@bcash Can you review this commit?

0250211

Let me know what you think. Maybe you can even test it before I release a new version? It is on the master branch. I would really appreciate that.

Kind regards, Maurits

Copy link
Owner

@mevdschee mevdschee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@mevdschee mevdschee mevdschee left review comments

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /