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
Passport doesn't redirect back to authorization form after login #248
Comments
Did you manage to find more information on this? I am having the same issue. Does one have to write his own integration? |
Nope 😔 I cannot even determine which step inside the app breaks that normal flow. Hope someone from contributors will clarify. |
UPD: Weird thing, seems like everything works fine in mobile Safari and mobile Chrome, but not on any desktop browser 🤔 |
Closing for lack of activity, hope you got the help you needed :) |
Nope, then I would have closed this issue myself. This issue is still actual. |
same here 6 months later. whenever one of my users wants to log into a socialite site they get redirected to the main site that uses passport but if they aint logged into the main site they get sent to the login page but once they login they stay on the main site. like to be able to redirect them back to the passport oauth page once they log in. |
I have this same issue. Problem only on chrome(tested from 64-67). |
Any updates on this one? |
Hi, I just solve the problem and provide the gist below: Fixed problem Laravel Passport doesn't redirect back to authorization form after login I hope it helps you all. |
@satyakresna, cool 👍. @themsaid please pay attention |
I had this very same issue while trying Passport with Laravel 8 and Breeze. Fixed by changing the
I also made the same change in the This seems more like a Breeze issue/enhancement by the way, but figured it could help someone else if I posted this here. |
My flow:
client.tld
myservice.tld/oauth/authorize?client_id=...
myservice.tld/login
myservice.tld
The problem:
How do I make the user to be redirected back to step 2 after step 4? So that he sees the authorization form immediately after logging in? Like that:
...
4. User logs in
5. User is redirected to the authorization form
6. User presses 'Allow' or 'Deny' button
7. User is redirected back to
client.tld/login/MyService/calback...
I'm using passport v1.0.17. In my login controller I'm using something like this:
The text was updated successfully, but these errors were encountered: