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

Support validate multiple issuers #197

Open
1 task done
hangzhang-circle opened this issue Apr 20, 2023 · 1 comment
Open
1 task done

Support validate multiple issuers #197

hangzhang-circle opened this issue Apr 20, 2023 · 1 comment
Labels
feature request A feature has been asked for or suggested by the community

Comments

@hangzhang-circle
Copy link

Checklist

Describe the problem you'd like to have solved

Is there a plan to support multiple issuers validation?

Describe the ideal solution

Hi team,
Similar to this request in Java Library - auth0/java-jwt#246
That today the Java library supports a list of issuers - https://github.com/auth0/java-jwt/blob/master/lib/src/main/java/com/auth0/jwt/interfaces/Verification.java#L34

Do we have a plan to implement this feature in Go library? The scenario is very common while using Auth0's Step-up authentication. While the regular JWT is issued from our custom domain (say issuer-url) and Auth0's Step-up authentication JWT is issued from issuer-url.auth0.us.com.

Today i have to setup 2 validators for those 2 issuers, would be great if we can make issuer verification support a list of audience.

Alternatives and current workarounds

No response

Additional context

No response

@hangzhang-circle hangzhang-circle added the feature request A feature has been asked for or suggested by the community label Apr 20, 2023
@ewanharris
Copy link
Contributor

Hey @hangzhang-circle 👋

I think if this is supported in our other libraries then we would support here also too, I don't have any timelines on when we might add this but we would review a PR if you were interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

2 participants