Skip to content
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

Fix RefreshToken mutation by limiting lcobucci/jwt to ^4.0 #166

Merged
merged 1 commit into from
May 15, 2023
Merged

Fix RefreshToken mutation by limiting lcobucci/jwt to ^4.0 #166

merged 1 commit into from
May 15, 2023

Conversation

wimski
Copy link
Contributor

@wimski wimski commented May 11, 2023

  1. laravel/passport:^11.0 requires lcobucci/jwt:^4.3|^5.0
    https://github.com/laravel/passport/releases/tag/v11.8.5

  2. lcobucci/jwt:^5.0 removed Lcobucci\JWT\Configuration::forUnsecuredSigner()
    https://lcobucci-jwt.readthedocs.io/en/latest/upgrading/#removal-of-none-algorithm

This broke the RefreshToken mutation, so I've limited the dependency for now as a quick fix. Ideally the method call should be replaced, but I don't have the knowledge or time to do this.

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

Successfully merging this pull request may close these issues.

3 participants