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
{{ message }}
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
I'm trying to decode a jwt token using this command on my Laravel application:
$decoded = JWT::decode($access_token, $my_secret, array('HS256'));
but I'm having this message error all the time:
UnexpectedValueException: Algorithm not allowed in file C:\myserver\vendor\fproject\php-jwt\src\JWT.php.
When I use the same token on site jwt.io, the token is correctlly decoded. I'm doing everything based on documents on your site.
Any ideas about what is happenning here?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to decode a jwt token using this command on my Laravel application:
$decoded = JWT::decode($access_token, $my_secret, array('HS256'));
but I'm having this message error all the time:
UnexpectedValueException: Algorithm not allowed in file C:\myserver\vendor\fproject\php-jwt\src\JWT.php.
When I use the same token on site jwt.io, the token is correctlly decoded. I'm doing everything based on documents on your site.
Any ideas about what is happenning here?
The text was updated successfully, but these errors were encountered: