-
Notifications
You must be signed in to change notification settings - Fork 777
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
Error while using league/oauth2-server: 5.1.5 #432
Comments
This has been fixed in v1.0.18, please update and see if the error remains. |
@Frozire Thanks for your answer. Now I'm using passport:2.0.11 , should I downgrade it ? |
@Hanson Sorry, I assumed you were using v1.x. I would suggest updating to 3.0 as soon as possible since this fixes a security concern. I just upgraded all my projects from 2.0 to 3.0, been running production for a few days and it seems to have no implications or breaking changes. |
@Frozire Thanks for your support! Versión 3 solved my problems! Edit: |
I am goin to make pull request... but you solved problem ))) Thank you |
@riskis I am receiving the same error. Did you ever find out what happened? My refresh tokens always worked, but since upgrading to 3.0 to fix this, revoking an access token and attempting a refresh (generated by 3.0) results in
"Cannot decrypt the refresh token" |
Author of the OAuth library that Passport uses here 👋 I will try to answer everyone's points: @Hanson if you update to Passport |
Please upgrade to Laravel 3.0.* if you haven't already and ensure that |
When I run
php artisan route:list
It show
You must set the encryption key going forward to improve the security of this library - see this page for more information https://oauth2.thephpleague.com/v5-security-improvements/
There's no exception while I require
oauth2-server: 5.1.4
The text was updated successfully, but these errors were encountered: