Skip to content

Conversation

@gburboz
Copy link

@gburboz gburboz commented Apr 15, 2019

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

jwt:
issuer-uri: ${mockwebserver.url}
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