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
Is it an expected behavior? If not, what would be the most appropriate approach if the support won't be added in the future?
I have tried adding it manually, but after encountering multiple places where file keys are set, chains of interfaces, multiple conditional endpoints etc., it felt like a prior clarification of rationales and approaches is more adequate.
Best and kind regards ✨
Steps To Reproduce
Configure any Laravel Passport grant which requires encryption;
OAuth-authorize storing the cookies/tokens in a client;
Try OAuth-authorizing again using the same client with its cookies/token.
The text was updated successfully, but these errors were encountered:
serious-angel
changed the title
Key rotation is unsupported while Laravel 11 itself - does
App key rotation is unsupported, while it is in Laravel 11 itself
Dec 18, 2024
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Passport Version
12.3.1
Laravel Version
11.35.1
PHP Version
8.2
Database Driver & Version
No response
Description
Dear Developers and Community,
Thank you for the marvel...
Issue
With the key rotated, the general User session gets authorized successfully, but if there are grants or anything OAuth active, those get invalidated.
Apparently, they rotation mechanism added in Laravel 11 is not supported by Laravel Passport.
Laravel 11 supports decryption with a set of keys, while Laravel Passports - only one, the current.
Details
Laravel 11
Multiple keys are set on:
Source
Laravel Passport
The key gets set on:
Source
Source
Question
Is it an expected behavior? If not, what would be the most appropriate approach if the support won't be added in the future?
I have tried adding it manually, but after encountering multiple places where file keys are set, chains of interfaces, multiple conditional endpoints etc., it felt like a prior clarification of rationales and approaches is more adequate.
Best and kind regards ✨
Steps To Reproduce
The text was updated successfully, but these errors were encountered: