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
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
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);
}
The text was updated successfully, but these errors were encountered: