Skip to content
Snippets Groups Projects
Commit 63b23d41 authored by Maximilian Schaldach's avatar Maximilian Schaldach :cactus:
Browse files

stored PID-base-URL in environment variable

parent b21b7d83
No related branches found
No related tags found
2 merge requests!278Draft: Test apikey support,!270Resolve "PID Assignment"
......@@ -45,6 +45,7 @@ services:
SMS_BACKEND_URL: "http://rz-vm64.gfz-potsdam.de:3001/backend/api/v1"
CV_BACKEND_URL: "http://rz-vm64.gfz-potsdam.de:3001/cv/api/v1"
IDL_SYNC_URL: "http://rz-vm64.gfz-potsdam.de:3001/idl/api/hifis/sync-groups"
NUXT_ENV_PID_BASE_URL: "https://hdl.handle.net"
STAY_WITH_HTTP: "true"
INSTITUTE: "gfz"
NUXT_ENV_SCOPE: "profile openid email eduperson_principal_name"
......
......@@ -42,6 +42,7 @@ services:
INSTITUTE: "ufz"
SMS_BACKEND_URL: "http://localhost:5000/rdm/svm-api/v1"
CV_BACKEND_URL: "http://localhost:8000/api/v1"
NUXT_ENV_PID_BASE_URL: "https://hdl.handle.net"
NUXT_ENV_CLIENT_ID: "rdmsms-pkce-flow"
NUXT_ENV_OIDC_WELL_KNOWN: "https://webapp-stage.intranet.ufz.de/idp/oidc/v1/.well-known/openid-configuration"
NUXT_ENV_SCOPE: "openid profile email offline_access"
......
......@@ -45,6 +45,9 @@ ENV NUXT_ENV_CLIENT_ID $CLIENT_ID_ARG
ARG BASE_URL_ARG=/sms
ENV BASE_URL $BASE_URL_ARG
ARG NUXT_ENV_PID_BASE_URL_ARG
ENV NUXT_ENV_PID_BASE_URL $NUXT_ENV_PID_BASE_URL
# And those remaining settings
ENV NUXT_ENV_SCOPE openid profile email
......
......@@ -94,7 +94,8 @@ export default {
smsBackendUrl: process.env.SMS_BACKEND_URL || 'http://localhost:5000/rdm/svm-api/v1',
cvBackendUrl: process.env.CV_BACKEND_URL || 'http://localhost:5001/api',
idlSyncUrl: process.env.IDL_SYNC_URL || '',
institute: process.env.INSTITUTE || ''
institute: process.env.INSTITUTE || '',
pidBaseUrl: process.env.NUXT_ENV_PID_BASE_URL || 'https://hdl.handle.net'
},
/*
** Headers of the page
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment