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

feat: support for validating issuer from a list of values #91

Merged
merged 5 commits into from
Aug 10, 2020
Merged

feat: support for validating issuer from a list of values #91

merged 5 commits into from
Aug 10, 2020

Conversation

sboys3
Copy link
Contributor

@sboys3 sboys3 commented Aug 10, 2020

JWT.verify can now have an array of possible issuers supplied in the options

I required this for use with google authentication because there are 2 different issuers for google id tokens accounts.google.com and https://accounts.google.com

Copy link
Owner

@panva panva left a comment

Choose a reason for hiding this comment

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

Hi @sboys3

Can you also make sure documentation and typescript types are updated?

lib/jwt/verify.js Outdated Show resolved Hide resolved
@panva panva changed the title Added array input support for validating issuer in JWT feat: support for validating issuer from a list of values Aug 10, 2020
@panva panva merged commit ce6836a into panva:master Aug 10, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants