-
Notifications
You must be signed in to change notification settings - Fork 780
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
[13.x] Release Passport 13.x #1797
base: 13.x
Are you sure you want to change the base?
Conversation
Thanks for submitting a PR! Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface. Pull requests that are abandoned in draft may be closed due to inactivity. |
@hafezdivandari With the switching of Passport to a headless approach, have you taken into account Inertia external redirects yet? Specifically in |
@jonerickson currently external redirect happens when utilizing "implicit" and "auth code" grants on different places / scenarios:
So it's not easily possible to just bind a response for each case to handle Inertia redirect. But 2 solutions come to mind:
|
@hafezdivandari Right - I understand the various locations of all external redirects - was just giving you an exact example of where this can happen. I am not a fan of the
This removes the responsibility from the app developer into the framework, hopefully reducing the potential for implementation errors. Whatcha think? |
@jonerickson As you know, Passport is headless and not dependent on Inertia, so it is not the right place to handle this edge case. You may refer to laravel/jetstream#1521 and laravel/breeze#398 for more. |
This PR does final touches and improvements that makes Passport ready for release:
components
.Date
facade.lcobucci/jwt
package. Not needed anymore.