Skip to content

Commit

Permalink
fix: tunnistus OIDC endpoints
Browse files Browse the repository at this point in the history
refs: TETP-310, TETP-314
  • Loading branch information
voneiden committed Feb 27, 2025
1 parent bdb4df1 commit 2c07009
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/tet/tet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,11 @@

OIDC_OP_BASE_URL = django_env.str("OIDC_OP_BASE_URL")
OIDC_SAVE_PERSONALLY_IDENTIFIABLE_INFO = False # For TET is not configurable by design
OIDC_OP_AUTHORIZATION_ENDPOINT = f"{OIDC_OP_BASE_URL}/authorize"
OIDC_OP_TOKEN_ENDPOINT = f"{OIDC_OP_BASE_URL}/token"
OIDC_OP_USER_ENDPOINT = f"{OIDC_OP_BASE_URL}/userinfo"
OIDC_OP_JWKS_ENDPOINT = f"{OIDC_OP_BASE_URL}/jwks"
OIDC_OP_LOGOUT_ENDPOINT = f"{OIDC_OP_BASE_URL}/end-session"
OIDC_OP_AUTHORIZATION_ENDPOINT = f"{OIDC_OP_BASE_URL}/protocol/openid-connect/auth"
OIDC_OP_TOKEN_ENDPOINT = f"{OIDC_OP_BASE_URL}/protocol/openid-connect/token"
OIDC_OP_USER_ENDPOINT = f"{OIDC_OP_BASE_URL}/protocol/openid-connect/userinfo"
OIDC_OP_JWKS_ENDPOINT = f"{OIDC_OP_BASE_URL}/protocol/openid-connect/certs"
OIDC_OP_LOGOUT_ENDPOINT = f"{OIDC_OP_BASE_URL}/protocol/openid-connect/logout"
OIDC_OP_LOGOUT_CALLBACK_URL = django_env.str("OIDC_OP_LOGOUT_CALLBACK_URL")
TUNNISTUS_API_TOKENS_ENDPOINT = django_env("TUNNISTUS_API_TOKENS_ENDPOINT")
HELSINKI_PROFILE_API_URL = django_env.str("HELSINKI_PROFILE_API_URL")
Expand Down

0 comments on commit 2c07009

Please sign in to comment.