Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Algorithm not allowed in file #19

Open
NomiasSR opened this issue Jul 31, 2018 · 0 comments
Open

Algorithm not allowed in file #19

NomiasSR opened this issue Jul 31, 2018 · 0 comments

Comments

@NomiasSR
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant