diff --git a/sep490-enterprise/src/main/resources/application.yml b/sep490-enterprise/src/main/resources/application.yml index 3494082..1d53892 100644 --- a/sep490-enterprise/src/main/resources/application.yml +++ b/sep490-enterprise/src/main/resources/application.yml @@ -68,3 +68,6 @@ payment: checksum_key: ${PAYOS_CHECKSUM_KEY:not_a_real_key_to_prevent_null} returnPath: /enterprise/payment cancelPath: /enterprise/payment +server: + servlet: + context-path: /enterprise diff --git a/sep490-frontend/src/environments/environment.ts b/sep490-frontend/src/environments/environment.ts index ae67518..f443e45 100644 --- a/sep490-frontend/src/environments/environment.ts +++ b/sep490-frontend/src/environments/environment.ts @@ -1,6 +1,6 @@ export const environment = { production: true, - oidcAuthority: 'https://greenbuildings.cloud/idp/auth', + oidcAuthority: 'https://greenbuildings.cloud/idp', idpApiUrl: 'https://greenbuildings.cloud/idp/api', enterpriseUrl: 'https://greenbuildings.cloud/enterprise', oidcClientId: 'greenbuildings', diff --git a/sep490-idp/src/main/resources/application.yml b/sep490-idp/src/main/resources/application.yml index 16e0ab0..e583f0b 100644 --- a/sep490-idp/src/main/resources/application.yml +++ b/sep490-idp/src/main/resources/application.yml @@ -1,3 +1,4 @@ + spring: security: oauth2: @@ -81,3 +82,5 @@ logging: sql: ${HIBERNATE_SQL_PARAM_LOG_LEVEL:TRACE} server: port: 8180 + servlet: + context-path: /idp