Skip to content

Commit

Permalink
fix: staging docker compose - move OAUTH_REDIRECT_URI to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-chaturvedi committed Nov 29, 2024
1 parent a899cb2 commit 15e95fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staging-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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

Expand Down

0 comments on commit 15e95fc

Please sign in to comment.