Skip to content

How to setup Google OAuth in Self Hosted Supabase? #4885

Discussion options

You must be logged in to vote

I am able to achieve this functionality by changing the docker-compose.yml file

      GOTRUE_EXTERNAL_GOOGLE_ENABLED: ${ENABLE_GOOGLE_SIGNUP}
      GOTRUE_EXTERNAL_GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
      GOTRUE_EXTERNAL_GOOGLE_SECRET: ${GOOGLE_CLIENT_SECRET}
      GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI: http://localhost:8000/auth/v1/callback

Replies: 4 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@sinameraji
Comment options

Comment options

You must be logged in to vote
6 replies
@bhagavan44
Comment options

@thimiraonline
Comment options

@bhagavan44
Comment options

@thimiraonline
Comment options

@domnru
Comment options

Answer selected by J0
Comment options

You must be logged in to vote
2 replies
@enigma522
Comment options

@abhishekmg
Comment options

Comment options

You must be logged in to vote
1 reply
@MrVibe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth All thing Supabase Auth related
10 participants