Update docker env.template due to auth update in frontend
- depends on https://gitlab.hzdr.de/hub-terra/sms/frontend/-/issues/122
-
Attention: Please notice the change of the
NUXT_ENV_AUTHORITY
URL
ToDos
- Update
docker/env.template
- Replace the frontend declaration with the following:
#################
### Frontend ####
#################
BASE_URL=/
STAY_WITH_HTTP=true
## Frontend UFZ
NUXT_ENV_SCOPE=openid profile email
SMS_BACKEND_URL=/backend/rdm/svm-api/v1
CV_BACKEND_URL=/cv/api/v1
NUXT_ENV_REDIRECT_URI=https://localhost.localdomain/login-callback
NUXT_ENV_CLIENT_ID=rdmsvm-implicit-flow
NUXT_ENV_AUTHORITY=https://webapp.ufz.de/idp/oidc/v1/auth
## Frontend GFZ
# NUXT_ENV_SCOPE=profile
# For the GFZ client ID, check the CI variable GFZ_STAGING_OIDC_CLIENT_IDS on https://gitlab.hzdr.de/hub-terra/sms/backend/-/settings/ci_cd
# and take one of the values
# (the localhost aware one is the on starting with xPKT)
# If you have no access to the CI variables, please ask mhanisch@gfz-potsdam.de, marie.schaeffer@gfz-potsdam.de or nils@gfz-potsdam.de
# NUXT_ENV_CLIENT_ID=xPKT...
# SMS_BACKEND_URL=https://localhost/backend/rdm/svm-api/v1
# CV_BACKEND_URL=https://localhost/cv/api/v1
# NUXT_ENV_REDIRECT_URI=https://localhost/login-callback
# NUXT_ENV_AUTHORITY=https://idp-dev.gfz-potsdam.de/cas/oidc/authorize
Edited by Tobias Kuhnert