Back

Google oAuth setup

  • 0
  • Web
NZX
6 Dec, 2023, 21:47

I have set up the google login function like that, it does direct me to login google page then to the Dashboard but on the dashboard I am not 'connected', I can't fetch anything from account.get() ?...

TL;DR
The user is facing issues with Google oAuth setup. They have enabled it but it keeps redirecting them back to the login page. It is likely caused by third-party cookies being blocked. The user already has an account created in their appwrite database. They have set up the Google login function correctly, but they are unable to fetch data from account.get() on the dashboard. Solution: Enable third-party cookies in the browser settings. This should resolve the issue with the Google oAuth setup.
NZX
6 Dec, 2023, 22:00

The account is created in my appwrite database aswell, so it's just about fetching that data on the dashboard

D5
7 Dec, 2023, 13:15

This is probably third party cookies blocking

D5
7 Dec, 2023, 13:15

Make sure you have third party cookies enabled in your browser

NZX
7 Dec, 2023, 13:27

enabled, still not working it is redirecting me back to login page

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