fix(self-hosted): proxy .well-known route for auth (#50306)

This commit is contained in:
Mandar Joshi authored and GitHub committed 2026-09-15 19:01:59 +02:00
1 parent 920459e9be
commit 0a409db31c
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{$PROXY_DOMAIN} {
@supabase_api path /auth/v1/* /rest/v1/* /graphql/v1 /realtime/v1/* /storage/v1/* /functions/v1/* /mcp /sso/*
@supabase_api path /auth/v1/* /rest/v1/* /graphql/v1 /realtime/v1/* /storage/v1/* /functions/v1/* /mcp /sso/* /.well-known/oauth-authorization-server
handle @supabase_api {
reverse_proxy api-gw:8000
@@ -92,4 +92,8 @@ server {
location /sso {
proxy_pass http://api_gw_upstream;
}
location = /.well-known/oauth-authorization-server {
proxy_pass http://api_gw_upstream;
}
}