Skip to content
Back

Having issues with Goggle Authentication.

  • 0
  • Auth
  • Web
  • Cloud
Zainab Wahab
27 Oct, 2025, 16:15

My google auth is not redirecting me to my failureurl. I think it might be a session issue because it's working in my laptop but when I try it in another laptop or a phone it's not working, I'm using createOAuth2Session

TL;DR
Developers experiencing issues with Google Authentication, infinite loop in explore tab. Suggested fix: allow third-party cookies in browser. Code referencing OAuth2 issues. Third-party cookies not saving. Links to GitHub repository and live application provided. Google auth not redirecting to failure URL on different devices, potentially a session issue.
Axistro
27 Oct, 2025, 16:17

Could you provide an ss? And the code?

Zainab Wahab
27 Oct, 2025, 16:21

Screenshot of the code. I have it in github if you have the time to check I can send the link. Also I can send the live link if you want to try it out. Thanks

Axistro
27 Oct, 2025, 16:23

For the ss I meant the error ss

Axistro
27 Oct, 2025, 16:23

Live link works

Axistro
27 Oct, 2025, 16:25

Also can you give the github link?

Zainab Wahab
27 Oct, 2025, 16:25
Zainab Wahab
27 Oct, 2025, 16:26
Axistro
27 Oct, 2025, 16:30

so you are having the third party cookies issue Third party cookies wont be saved in this method

Axistro
27 Oct, 2025, 16:32

or you could allow third party cookies in the browser and tell others to do the same then it works for me

Axistro
27 Oct, 2025, 16:37

and you have a infinite loop when i open the explore tab it logs this again and again fix this

Zainab Wahab
27 Oct, 2025, 16:47

Thank you so much. I'll work on it

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more