Open Closed

ValidateToken Error - IDX10503: Signature validation failed #7809

Tesfayekb created


Please can you assist with regards to the token validation error below: swagger UI works, but unable to open the login page at all

Microsoft.IdentityModel.Tokens.SecurityTokenInvalidSignatureException HResult=0x80131500 Message=IDX10503: Signature validation failed. Keys tried: '[PII is hidden]'. Exceptions caught: '[PII is hidden]'. token: '[PII is hidden]'. Source=System.IdentityModel.Tokens.Jwt StackTrace: at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateSignature(String token, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at EthioAngOct7Demo.Web.Authentication.JwtBearer.EthioAngOct7DemoJwtSecurityTokenHandler.ValidateToken(String securityToken, TokenValidationParameters validationParameters, SecurityToken& validatedToken) in C:\Users\tesfa\OneDrive\Documents\WebDevelopment\EthioAngOct7\EthioAngOct7Demo\aspnet-core\src\EthioAngOct7Demo.Web.Core\Authentication\JwtBearer\EthioAngOct7DemoJwtSecurityTokenHandler.cs:line 40 at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.

Screenshot \(40\).png

4 Answer(s)
  • 0
    maliming created

    This won't affect your application, you can ignore it because you have both identity server and jwt enabled.


  • 0
    unidata created

    Hi @maliming!

    I have the same simtomps and the same problem, as i report at

    Just ignoring the exception does not work because I cannot access the login page. An "InternalServerError" always appears on the angular page. This only happens to me with a project recreated from v7.2 to v8.0 with core 3. If I generate a demo project with v8 that works smoothly.

  • 0
    maliming created

    @unidata You can share a project that reproduces the problem.

  • 0
    ismcagdas created

    This issue is closed because it has not had recent activity for a long time.