diff --git a/deploy/keycloak/TCIA-realm.json b/deploy/keycloak/TCIA-realm.json index 15697b01..ecf7bf31 100644 --- a/deploy/keycloak/TCIA-realm.json +++ b/deploy/keycloak/TCIA-realm.json @@ -578,7 +578,7 @@ "protocol" : "openid-connect", "attributes" : { "oidc.ciba.grant.enabled" : "false", - "post.logout.redirect.uris": "http://google.com/*", + "post.logout.redirect.uris": "*", "oauth2.device.authorization.grant.enabled" : "false", "backchannel.logout.session.required" : "true", "backchannel.logout.revoke.offline.tokens" : "false" diff --git a/software/nbia-api/src/gov/nih/nci/nbia/restAPI/KeycloakLogout.java b/software/nbia-api/src/gov/nih/nci/nbia/restAPI/KeycloakLogout.java index 617fd618..7e34d082 100644 --- a/software/nbia-api/src/gov/nih/nci/nbia/restAPI/KeycloakLogout.java +++ b/software/nbia-api/src/gov/nih/nci/nbia/restAPI/KeycloakLogout.java @@ -62,7 +62,7 @@ public Response logout() throws URISyntaxException, UnsupportedEncodingException Form formData = new Form(); formData.param("token", encodeParameter(token)); formData.param("client_id", client_id); - formData.param("post_logout_redirect_uri", "http://google.com"); + formData.param("post_logout_redirect_uri", "https://www.cancerimagingarchive.net/"); // Make a POST request to the Keycloak logout endpoint Response keycloakResponse = httpClient.target(logoutUrl)