You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch; thanks for reporting this! I've created a PR fixing the issue. I'll merge and release the fix once our team has an opportunity to review the changes.
Checklist
SDK Version
8.7
PHP Version
PHP 8.1
Description
I'm trying to use
\Auth0\SDK\Token\Generator
to generate a JWT (to return to an Action in Auth0) but kept getting this error:I solved it by manually adding
"typ": "JWT"
to the header. The Generator class instead adds a"type": "JWT"
to the header. I suspect that should be changed to "typ".Note: I'm using Auth0-PHP in a Laravel app through
auth0/login
, but am usingGenerator
directly.How can we reproduce this issue?
The text was updated successfully, but these errors were encountered: