You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an exception that issuer claim does not match Caused by: io.jsonwebtoken.IncorrectClaimException: Expected iss claim to be: https://dev-ylqkdtaqkg6cqazy.eu.auth0.com, but was: https://dev-ylqkdtaqkg6cqazy.eu.auth0.com/.
Checking the BaseVerifierBuilderSupport it seams like the trailing slash was removed, when setIssuer() is called
Hello,
currently I have an issue with my api authentication.
Setup:
I'm building a basic Ktor API and provided an Authentication feature to validate Okta accessTokens.
Via a swagger UI I login at okta and retrieve my accessToken, which contains an issuer:
"iss": "https://dev-ylqkdtaqkg6cqazy.eu.auth0.com/"
When I am using the accessTokenVerifier to validate and verify the incoming accessToken using the following builder
I get an exception that issuer claim does not match
Caused by: io.jsonwebtoken.IncorrectClaimException: Expected iss claim to be: https://dev-ylqkdtaqkg6cqazy.eu.auth0.com, but was: https://dev-ylqkdtaqkg6cqazy.eu.auth0.com/.
Checking the BaseVerifierBuilderSupport it seams like the trailing slash was removed, when setIssuer() is called
What can I do, as the issuer in the accessToken comes from auth0 as well. See my openid-configuration
https://dev-ylqkdtaqkg6cqazy.eu.auth0.com/.well-known/openid-configuration
Regards
The text was updated successfully, but these errors were encountered: