-
Couldn't load subscription status.
- Fork 787
Description
I have implemented an OAuth system with Laravel Passport, but the login and all authentication for this system is handled by Laravel Jetstream with Inertia.
When I want to request a code (using the Authorization Code Grant), my application redirects me to my OAuth server, this server asks me for login before continue, this screen is the screen generated by Laravel Jetstream login using Inertia (Vue). When I'm logged in, it redirects me to the authorization page, but this redirect is weird because this page is shown inside a Vue (Inertia) page, the URL in the browser doesn't update, and if I accept the authorization request it redirects me back to my application, but the redirect is inside the same Vue page, I mean, the URL is the same as my OAuth server login, but the view is my app who requested the code.
I think that there's a problem with redirections in Vue because the authorization page isn't using Inertia (is the default authorization page of Laravel Passport), and I don't know how to fix it, can you help me?
Here is an image:
As you can see, it seems to be in a modal, but is an Inertia error page, and inside is showing the authorization page, is an redirect error that I don't know how to fix
