-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2705 from Amsterdam/feature/131931-entra-id
131931 - Implement Entra-ID
- Loading branch information
Showing
61 changed files
with
645 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
REACT_APP_ENVIRONMENT=acceptance | ||
# Keycloak | ||
REACT_APP_AUTH_URL=https://acc.iam.amsterdam.nl/auth/ | ||
REACT_APP_KEYCLOAK_REALM=datapunt-ad-acc | ||
REACT_APP_KEYCLOAK_CLIENT_ID=wonen-zaaksysteem-frontend | ||
|
||
############################# Vite ############################# | ||
|
||
# General | ||
VITE_APP_TITLE="Amsterdamse Zaak Administratie" | ||
VITE_APP_TITLE_SHORT=AZA | ||
|
||
REACT_APP_API_HOST=https://api.wonen.zaken.woon-a.azure.amsterdam.nl/ | ||
# Environment | ||
VITE_ENVIRONMENT=acceptance | ||
VITE_ENVIRONMENT_SHORT=ACC | ||
|
||
# AZA | ||
REACT_APP_AZA_FE=https://wonen.zaken.woon-a.azure.amsterdam.nl/ | ||
# API | ||
VITE_API_URL=https://acc.api.wonen.zaken.amsterdam.nl/api/v1/ | ||
|
||
# AZA Frontend | ||
VITE_AZA_FRONTEND_URL=https://acc.wonen.zaken.amsterdam.nl | ||
|
||
# TON | ||
REACT_APP_API_HOST_TON=https://api.ton.woon-a.azure.amsterdam.nl/ | ||
REACT_APP_HOST_TON=https://ton.woon-a.azure.amsterdam.nl/ | ||
VITE_TON_API_URL=https://acc.api.ton.amsterdam.nl/ | ||
VITE_TON_FRONTEND_URL=https://acc.ton.amsterdam.nl/ | ||
|
||
# Keycloak | ||
REACT_APP_AUTH_URL=https://acc.iam.amsterdam.nl/auth/ | ||
REACT_APP_KEYCLOAK_REALM=datapunt-ad-acc | ||
REACT_APP_KEYCLOAK_CLIENT_ID=wonen-zaaksysteem-frontend | ||
# ENTRA-ID | ||
VITE_OIDC_CLIENT_ID=14c4257b-bcd1-4850-889e-7156c9efe2ec | ||
VITE_OIDC_REDIRECT_URL=http://localhost:2999 | ||
VITE_OIDC_OBO_SCOPE_BRP=api://c53de0e2-ae05-43aa-9852-31adb9ad7489/wonen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
# NOTE: Variables need to be prefixed using REACT_APP_: | ||
# https://create-react-app.dev/docs/adding-custom-environment-variables/ | ||
|
||
# Commented variables are only to be used as examples | ||
# Add any local changes to `.env.development.local` so they won't be committed | ||
|
||
# Local API | ||
REACT_APP_API_HOST=http://localhost:8080/ | ||
REACT_APP_API_PATH=api/v1/ | ||
|
||
# Keycloak | ||
REACT_APP_AUTH_URL=https://acc.iam.amsterdam.nl/auth/ # wonen-zaaksysteem-frontend client only exist for iam.amsterdam (prod) | ||
REACT_APP_KEYCLOAK_CLIENT_ID=wonen-zaaksysteem-frontend | ||
REACT_APP_KEYCLOAK_REALM=datapunt-ad-acc | ||
|
||
# AZA | ||
REACT_APP_AZA_FE=http://localhost:2999/ | ||
############################# Vite ############################# | ||
|
||
# General | ||
VITE_APP_TITLE="Amsterdamse Zaak Administratie" | ||
VITE_APP_TITLE_SHORT=AZA | ||
|
||
# Environment | ||
VITE_ENVIRONMENT=local | ||
VITE_ENVIRONMENT_SHORT=LOCAL | ||
|
||
# API | ||
VITE_API_URL=http://localhost:8080/api/v1/ | ||
|
||
# AZA Frontend | ||
VITE_AZA_FRONTEND_URL=http://localhost:2999/ | ||
|
||
# TON | ||
REACT_APP_API_HOST_TON=https://acc.api.ton.amsterdam.nl/ | ||
REACT_APP_HOST_TON=https://acc.ton.amsterdam.nl/ | ||
VITE_TON_API_URL=https://acc.api.ton.amsterdam.nl/ | ||
VITE_TON_FRONTEND_URL=https://acc.ton.amsterdam.nl/ | ||
|
||
# ENTRA-ID | ||
VITE_OIDC_CLIENT_ID=14c4257b-bcd1-4850-889e-7156c9efe2ec | ||
VITE_OIDC_REDIRECT_URL=http://localhost:2999 | ||
VITE_OIDC_OBO_SCOPE_BRP=api://c53de0e2-ae05-43aa-9852-31adb9ad7489/wonen | ||
|
||
# To bypass Keycloak locally | ||
# REACT_APP_API_TOKEN={ generate token at http://localhost:8080/api/v1/swagger/#/oidc-authenticate/oidc_authenticate_create } | ||
|
||
# Translations | ||
REACT_APP_PAGE_TITLE="Amsterdamse Zaak Administratie | Gemeente Amsterdam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
# NOTE: Variables need to be prefixed using REACT_APP_: | ||
# https://create-react-app.dev/docs/adding-custom-environment-variables/ | ||
|
||
# NOTE: These variables are used using "npm run build" | ||
|
||
REACT_APP_ENVIRONMENT=production | ||
|
||
REACT_APP_API_HOST=https://api.wonen.zaken.amsterdam.nl/ | ||
REACT_APP_API_PATH=api/v1/ | ||
# Keycloak | ||
REACT_APP_AUTH_URL=https://iam.amsterdam.nl/auth/ | ||
|
||
############################# Vite ############################# | ||
|
||
# General | ||
VITE_APP_TITLE="Amsterdamse Zaak Administratie" | ||
VITE_APP_TITLE_SHORT=AZA | ||
|
||
# AZA | ||
REACT_APP_AZA_FE=https://wonen.zaken.amsterdam.nl/ | ||
# Environment | ||
VITE_ENVIRONMENT=production | ||
|
||
# API | ||
VITE_API_URL=https://api.wonen.zaken.amsterdam.nl/api/v1/ | ||
|
||
# AZA Frontend | ||
VITE_AZA_FRONTEND_URL=https://wonen.zaken.amsterdam.nl/ | ||
|
||
# TON | ||
REACT_APP_API_HOST_TON=https://api.ton.amsterdam.nl/ | ||
REACT_APP_HOST_TON=https://ton.amsterdam.nl/ | ||
VITE_TON_API_URL=https://api.ton.amsterdam.nl/ | ||
VITE_TON_FRONTEND_URL=https://ton.amsterdam.nl/ | ||
|
||
# Keycloak | ||
REACT_APP_KEYCLOAK_REALM=datapunt-ad | ||
|
||
# Translations | ||
REACT_APP_PAGE_TITLE="Amsterdamse Zaak Administratie | Gemeente Amsterdam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.