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

Auth0.OidcClient.Tokens.IdTokenValidationException: 'Issuer (iss) claim mismatch in the ID token; expected "https://Domain.com/", found "https://Domain.com". #12

Open
cbehera712 opened this issue Apr 29, 2024 · 1 comment

Comments

@cbehera712
Copy link

I tried with the provided sample and it fails with error in mismatching the issuer url . It automatically adds extra "/" in the domain url.

Further check could notice its happening because of the below dll code which i cant change.

protected Auth0ClientBase(Auth0ClientOptions options, string platformName)
{
_options = options;
_idTokenRequirements = new IdTokenRequirements("https://" + _options.Domain + "/", _options.ClientId, options.Leeway, options.MaxAge);
_userAgent = CreateAgentString(platformName);
_idTokenValidator = new IdTokenValidator(options.BackchannelHandler);
}

@AliKarimiENT
Copy link

I have the same issue

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

No branches or pull requests

2 participants