Skip to content

Cannot seem to register #7

@Supernova3339

Description

@Supernova3339
{"EventId":0,"LogLevel":"Error","Category":"Aptabase.Features.Authentication.AuthController","Message":"Unable to validate auth token","Exception":"Microsoft.IdentityModel.Tokens.SecurityTokenMalformedException: IDX12741: JWT must have three segments (JWS) or five segments (JWE).    at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken\u0026 validatedToken)    at Aptabase.Features.Authentication.AuthTokenManager.ParseAuthToken(String token) in /work/src/Features/Authentication/AuthTokenManager.cs:line 63    at Aptabase.Features.Authentication.AuthController.HandleMagicLink(String token, CancellationToken cancellationToken) in /work/src/Features/Authentication/AuthController.cs:line 102","State":{"Message":"Unable to validate auth token","{OriginalFormat}":"Unable to validate auth token"}}

I made a generator to try and solve it, tried JWS/JWT ( generator uses firebase/php-jwt )
https://projects.superdev.one/10/4/16/jwt/

Nothing seems to work. Any ideas?

Current AUTH_SECRET ( JWS, 3 segments )

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJlYXN5cGFuZWwiLCJhdWQiOiJlYXN5cGFuZWwiLCJleHAiOm51bGwsInVpZCI6IjYxMiJ9.MGV6DqAXylvkDkxv9WTTL_zUVP5_nL2GtR3XC_WIUrs

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