Skip to content

Commit

Permalink
update AMS prod config in fe/be
Browse files Browse the repository at this point in the history
Signed-off-by: John DeAngelis <[email protected]>
  • Loading branch information
johndeange committed Oct 8, 2024
1 parent 38775b1 commit d5d50c9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion backend/ops_api/ops/environment/azure/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"server_metadata_url": "https://sso.acf.hhs.gov/auth/realms/ACF-AMS/.well-known/openid-configuration",
"token_endpoint": "https://sso.acf.hhs.gov/auth/realms/ACF-AMS/protocol/openid-connect/token",
"user_info_url": "https://sso.acf.hhs.gov/auth/realms/ACF-AMS/protocol/openid-connect/userinfo",
"client_id": "https://ops.opre.acf.gov/",
"client_id": "https://ops.opre.acf.gov",
"client_kwargs": {"scope": "openid email"},
"aud": "https://sso.acf.hhs.gov/auth/realms/ACF-AMS/protocol/openid-connect/token",
"redirect_uri": "https://ops.opre.acf.gov/login",
Expand Down
3 changes: 1 addition & 2 deletions frontend/Dockerfile.azure
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ COPY . .
# Build the application
ARG MODE
ARG VITE_BACKEND_DOMAIN
COPY vite-env/env.local .
COPY vite-env/env.${MODE}.local .
COPY vite-env/env.${MODE}.local .env
RUN VITE_BACKEND_DOMAIN=${VITE_BACKEND_DOMAIN} NODE_ENV=${MODE} bun run build --mode ${MODE}

# ---- Release Stage ----
Expand Down
3 changes: 0 additions & 3 deletions frontend/vite-env/env.local

This file was deleted.

6 changes: 3 additions & 3 deletions frontend/vite-env/env.production.local
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_HHSAMS_CLIENT_ID=44fe2c7a-e9c5-43ec-87e9-3de78d2d3a11
VITE_HHSAMS_AUTH_ENDPOINT=https://sso-stage.acf.hhs.gov/auth/realms/ACF-SSO/protocol/openid-connect/auth
VITE_HHSAMS_LOGOUT_ENDPOINT=https://sso-stage.acf.hhs.gov/auth/realms/ACF-SSO/protocol/openid-connect/logout
VITE_HHSAMS_CLIENT_ID=https://ops.opre.acf.gov
VITE_HHSAMS_AUTH_ENDPOINT=https://sso.acf.hhs.gov/auth/realms/ACF-AMS/protocol/openid-connect/auth
VITE_HHSAMS_LOGOUT_ENDPOINT=https://sso.acf.hhs.gov/auth/realms/ACF-AMS/protocol/openid-connect/logout

0 comments on commit d5d50c9

Please sign in to comment.