Skip to content
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

Handle array-based jwt audience data #1060

Closed

Conversation

leemhenson
Copy link
Contributor

Auth0, for example, can send aud: ["<audience1>", "<audience2>"] in it's token. It also looks like it's possible to configure multiple or single acceptable audiences in the serverless.yml. This PR lifts both sets of audiences into an array which are then checked for an overlap.

@dherault
Copy link
Owner

I this PR still relevant since I merged #1070 ?

@dherault dherault closed this Sep 3, 2020
@leemhenson
Copy link
Contributor Author

Sorry, was on holiday! 🏖️

Yes, that looks equivalent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants