Add docs on how to customize the passport authorization view#9874
Add docs on how to customize the passport authorization view#9874jonerickson wants to merge 3 commits intolaravel:11.xfrom
Conversation
|
This is going to change a little bit on Passport 13.x, related PR #9819 is in draft. |
|
@hafezdivandari looking at the 12 - 13 diff, it doesn't appear this implementation is affected. Can you elaborate on what will change that affects the authorization view response? |
|
This one: laravel/passport#1771 |
|
@hafezdivandari Great - thanks for the direction. Love the headless UI approach. Do you have any idea of when 13 would be released? Looking at the release schedule, there's been a couple years in between major releases. Based on that, it might be beneficial to merge this, and then just update it when 13 is merged. That's my recommendation. There wouldn't be much to update besides just making a note about the new headless UI approach and that the package no longer ships with any front end blade templates to handle the auth code flow. The underlying logic remains the same. |
|
We can release 13.x after laravel/passport#1750 has been merged. Please check #9819. |
Awhile ago I introduced a new feature to
Passportlaravel/passport#1629 that allows a user to customize the authorization view used. Before it defaulted to a generic blade template. The pattern followed what currently exists inFortify. This adds the documentation on how to use the feature.