Skip to content

This link is invalid. Please request a new one.Β #14

Open
@xrr2016

Description

@xrr2016

No idea what is going wrong

{"EventId":0,"LogLevel":"Error","Category":"Aptabase.Features.Authentication.AuthController","Message":"Unable to validate auth token","Exception":"Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX12709: CanReadToken() returned false. JWT is not well formed.\nThe token needs to be in JWS or JWE Compact Serialization Format. (JWS): \u0027EncodedHeader.EncodedPayload.EncodedSignature\u0027. (JWE): \u0027EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag\u0027.\n at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ReadJwtToken(String token)\n at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.GetJwtSecurityTokenFromToken(String token, TokenValidationParameters validationParameters)\n at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateJWS(String token, TokenValidationParameters validationParameters, BaseConfiguration currentConfiguration, SecurityToken\u0026 signatureValidatedToken, ExceptionDispatchInfo\u0026 exceptionThrown)\n--- End of stack trace from previous location ---\n at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, JwtSecurityToken outerToken, TokenValidationParameters validationParameters, SecurityToken\u0026 signatureValidatedToken)\n at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken\u0026 validatedToken)\n at Aptabase.Features.Authentication.AuthTokenManager.ParseAuthToken(String token) in /work/src/Features/Authentication/AuthTokenManager.cs:line 63\n at Aptabase.Features.Authentication.AuthController.HandleMagicLink(String token, CancellationToken cancellationToken) in /work/src/Features/Authentication/AuthController.cs:line 117","State":{"Message":"Unable to validate auth token","{OriginalFormat}":"Unable to validate auth token"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions