Skip to content

Resource Server - Multi-Tenant Jwt Decoder by Issuer #6779

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

Closed

Conversation

gburboz
Copy link

@gburboz gburboz commented Apr 15, 2019

Resolves issue #6778 : Resource Server - Multi-Tenant Jwt Decoder by Issuer

jwk-set-uri: ${mockwebserver.url}/.well-known/jwks.json
multi-tenant-jwt:
Copy link
Author

@gburboz gburboz Apr 15, 2019

Choose a reason for hiding this comment

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

I did not have mock server that supports JWTs with iss claims hence have put these as sample. They need not necessarily support JWT access tokens with iss claim in it.

return jwtDecoder.decode(token);
}

private String parseAndFindIssuer(String token) {
Copy link
Author

Choose a reason for hiding this comment

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

Unfortunately this parsing occurs twice, once here and also when NimbusJwtDecoder is invoked

@gburboz gburboz closed this Apr 25, 2019
@gburboz gburboz deleted the feature/rs-multi-tenant-jwt branch April 25, 2019 03:40
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.

1 participant