-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Description
When verifying the JSON Web Token the secret has to be passed as a Base64 encoded string.
jwt.verify(token, new Buffer(AUTH0_CLIENT_SECRET, 'base64'));
But since december 2016 Auth0 no longer stores client Secret with Base64 encoding (https://auth0.com/forum/t/client-secret-stored-without-base64-encoding).
So the JSON Web Token can be passed as string without being encoded.
jwt.verify(token, AUTH0_CLIENT_SECRET);
Metadata
Metadata
Assignees
Labels
No labels