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

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

Open
xrr2016 opened this issue Dec 9, 2024 · 0 comments
Open

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

xrr2016 opened this issue Dec 9, 2024 · 0 comments

Comments

@xrr2016
Copy link

xrr2016 commented Dec 9, 2024

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"}}

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

1 participant