Skip to content

Commit

Permalink
Config/logout (#29)
Browse files Browse the repository at this point in the history
* Changing post logout redirect

* Changing logout url
  • Loading branch information
jmwhorton authored Apr 1, 2024
1 parent a9c5595 commit 36f8bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/keycloak/TCIA-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 36f8bf8

Please sign in to comment.