diff --git a/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 b/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 index 0618bf19269..a61cfc1daca 100644 --- a/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 +++ b/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 @@ -594,15 +594,15 @@ data: "oauthConfig": { "clientId": "'$TSP_SYSTEM_OAUTH_CLIENT_ID'", "clientSecret": "'$TSP_SYSTEM_OAUTH_CLIENT_SECRET'", - "tokenEndpoint": "https://test2.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/token", + "tokenEndpoint": "https://test.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/token", "grantType": "authorization_code", "scope": "openid", "responseType": "code", "redirectUri": "https://{{ NAMESPACE }}.thr.dbildungscloud.dev/api/v3/sso/oauth", - "authEndpoint": "https://test2.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/auth", + "authEndpoint": "https://test.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/auth", "provider": "tsp", - "jwksEndpoint": "https://test2.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/certs", - "issuer": "https://test2.schulportal-thueringen.de/auth/realms/TIS" + "jwksEndpoint": "https://test.schulportal-thueringen.de/auth/realms/TIS/protocol/openid-connect/certs", + "issuer": "https://test.schulportal-thueringen.de/auth/realms/TIS" } } );' diff --git a/apps/server/src/infra/tsp-client/README.md b/apps/server/src/infra/tsp-client/README.md index f88fb33859b..3a110a9d1f1 100644 --- a/apps/server/src/infra/tsp-client/README.md +++ b/apps/server/src/infra/tsp-client/README.md @@ -30,7 +30,7 @@ export class MyNewService { ## How the code generation works > IMPORTANT: Currently we are using the `openapi.json` and not the spec from -> https://test2.schulportal-thueringen.de/tip-ms/api/swagger.json, because we have to patch the security schemas +> https://test.schulportal-thueringen.de/tip-ms/api/swagger.json, because we have to patch the security schemas > manually into to the specification so the generator can generate them correctly. The provided > specification does not contain all necessary definitions. Only the `Export` endpoints are > decorated with the security definitions. diff --git a/apps/server/src/infra/tsp-client/tsp-client-factory.integration.spec.ts b/apps/server/src/infra/tsp-client/tsp-client-factory.integration.spec.ts index c8d3b538788..6a7fcc400f0 100644 --- a/apps/server/src/infra/tsp-client/tsp-client-factory.integration.spec.ts +++ b/apps/server/src/infra/tsp-client/tsp-client-factory.integration.spec.ts @@ -23,7 +23,7 @@ describe.skip('TspClientFactory Integration', () => { getOrThrow: (key: string) => { switch (key) { case 'TSP_API_CLIENT_BASE_URL': - return 'https://test2.schulportal-thueringen.de/tip-ms/api'; + return 'https://test.schulportal-thueringen.de/tip-ms/api'; case 'TSP_API_CLIENT_TOKEN_LIFETIME_MS': return 30_000; default: