Skip to content
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

Laravel\Socialite\Two\ InvalidStateException in Google / Docker Cloud Run #414

Closed
neural-loop opened this issue Jan 19, 2022 · 1 comment

Comments

@neural-loop
Copy link

I've been struggling with this for a few days now and wanted to reach out for any advice.

I've gone through the Facebook and Google backend to set up the oauth and get the keys needed. When I click the login link with FB or Google+, it takes me to the providers auth page, and the redirect always comes back with the error shown here.

I've tried many things now:

  • Install the google socialite provider (but the error is the same for both providers so I think thats not the issue)
  • Changing Socialite::driver($provider)->redirect(); to Socialite::driver($provider)-stateless()->redirect();
    (ines 39/61 in SocialController.php)
  • Tried different versions of Socialite
  • Tried different 'same_site' values in session.php
  • Set value of domain in .enf for SESSION_DOMAIN


Capture

stacktrace.txt

Any advice on what I'm missing? I'm clearing cache each time I try again.

@neural-loop
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant