From 15e95fcf2cd618fdb169009cf9839265ebf4a934 Mon Sep 17 00:00:00 2001 From: Rohan Date: Fri, 29 Nov 2024 15:42:12 +0530 Subject: [PATCH] fix: staging docker compose - move OAUTH_REDIRECT_URI to backend --- staging-docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging-docker-compose.yml b/staging-docker-compose.yml index 147e7cd7..01881dd0 100644 --- a/staging-docker-compose.yml +++ b/staging-docker-compose.yml @@ -29,7 +29,6 @@ services: env_file: .env environment: NEXTAUTH_URL: "${HTTP_PROTOCOL}${HOST}" - OAUTH_REDIRECT_URI: "${HTTP_PROTOCOL}${HOST}" BACKEND_API_BASE: "http://backend:8000" NEXT_PUBLIC_BACKEND_API_BASE: "${HTTP_PROTOCOL}${HOST}/service" NEXT_PUBLIC_NEXTAUTH_PROVIDERS: "${SSO_PROVIDERS}" @@ -53,6 +52,7 @@ services: ALLOWED_HOSTS: "${HOST},backend" ALLOWED_ORIGINS: "${HTTP_PROTOCOL}${HOST}" SESSION_COOKIE_DOMAIN: "${HOST}" + OAUTH_REDIRECT_URI: "${HTTP_PROTOCOL}${HOST}" networks: - phase-net-dev