-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Docker hasura garphql Auth0: Error Could not verify JWT: JWSError JWSInvalidSignature #3513
Comments
Hi @RKARaj - Since you are using Hasura with local docker, this should most likely be an issue with environment variable Also you can verify the token generated from Auth0 using https://jwt.io/#debugger-io or even using Hasura Console. |
thank you for the response Praveen. I already tried the solution as you mentioned above, which is why I raised it as an issue. In the documentation to do this, something might be missing I believe, I might be wrong. Because certificate 'HASURA_GRAPHQL_JWT_SECRET' is failed to do "Signature Verified". so always ("message": "Could not verify JWT: JWSError JWSInvalidSignature") |
I'm currently struggling with this too and can't seem to figure out why. For me, everything works locally, but the same docker-compose file does not work on AWS EC2. Not sure why. Update: False alarm. Turns out my |
@RKARaj Are there any docs you can point to show what type of Anyway, have you tried changing the type to |
Closing this. This is typically a configuration issue for the With Auth0 support for |
I have followed: https://www.youtube.com/watch?v=kHCLQEKjdnI
For my testing app I am using Docker hasura garphql and For Authorization: Auth0
When I am using https://hasura.io/jwt-config, I am getting JWT Config value with type "type": "RS512".
But the id_token received from Auth0, is of type {"typ": "JWT","alg": "RS256"}
When I tried to use the id_token generated by Auth0 in HasuraConsole(http://localhost:8080/console/) with Authorization header, I am always getting Error: "Could not verify JWT: JWSError JWSInvalidSignature"
{
"errors": [
{
"extensions": {
"path": "$",
"code": "invalid-jwt"
},
"message": "Could not verify JWT: JWSError JWSInvalidSignature"
}
]
}
tried all closed ticket solutions which is NOT Working. Can you please help on this issue.
The text was updated successfully, but these errors were encountered: