Skip to content

Commit

Permalink
Feature/update shl logout redirect (#32)
Browse files Browse the repository at this point in the history
* Change shl creator post logout redirect uri to cpro base url

* Update post-logout url to [cpro url]/users

* Add shl creator redirect uri env var to dc file
  • Loading branch information
daniellrgn authored Apr 22, 2024
1 parent a800f30 commit 6bcfad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/config/keycloak/import/ltt-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@
"backchannel.logout.session.required": "true",
"backchannel.logout.revoke.offline.tokens": "false",
"frontchannel.logout.url": "${KEYCLOAK_SHL_CREATOR_BASE}/logout",
"backchannel.logout.url": ""
"backchannel.logout.url": "",
"post.logout.redirect.uris": "${KEYCLOAK_CPRO_LANDING_PAGE}"
},
"authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
Expand Down
2 changes: 2 additions & 0 deletions dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ services:

KEYCLOAK_CPRO_BACKCHANNEL_LOGOUT_URL: https://${BASE_DOMAIN}/auth/oidc/logoutCallback
KEYCLOAK_SHL_CREATOR_BASE: https://shl-creator.${BASE_DOMAIN}
KEYCLOAK_SHL_CREATOR_LOGOUT_REDIRECT_URL: https://${BASE_DOMAIN}/users

env_file:
- keycloak.env
Expand Down Expand Up @@ -210,6 +211,7 @@ services:
VITE_OIDC_SERVER_BASE: https://keycloak.${BASE_DOMAIN}
VITE_OIDC_LOGOUT_ENDPOINT: https://keycloak.${BASE_DOMAIN}/realms/ltt/protocol/openid-connect/logout
VITE_OIDC_CHECK_SESSION_IFRAME: https://keycloak.${BASE_DOMAIN}/realms/ltt/protocol/openid-connect/login-status-iframe.html
VITE_POST_LOGOUT_REDIRECT_URI: https://${BASE_DOMAIN}/users
env_file:
shl-creator.env
labels:
Expand Down

0 comments on commit 6bcfad0

Please sign in to comment.