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

Update supabase.yaml with variables that enable Supabase external OAu… #2162

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gionatamettifogo
Copy link
Contributor

It is a little bit complicated to enable Github or Google external logins w/o understanding the details of how Coolify and docker compose work. I added some variables that hopefully will help people understand how to enable these providers.

Also, normally the application or service you write sits on an url which is different from the one used by Supabase. In that case the authentication breaks because Supabase GoTrue (the auth provider) was pointing GOTRUE_SITE_URL to the Supabase service instead of the customer's application. So I fixed that and explained a bit.

@andrasbacsai
Copy link
Member

Making - GOTRUE_SITE_URL=${GOTRUE_SITE_URL} instead of - GOTRUE_SITE_URL=${SERVICE_FQDN_SUPABASEKONG} makes the GOTRUE_SITE_URL to be empty by default.

Why it cannot be SERVICE_FQDN_SUPABASEKONG which is generated by Coolify?

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

Successfully merging this pull request may close these issues.

None yet

2 participants