Skip to content

Commit

Permalink
FIX logout
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaFM committed Aug 21, 2024
1 parent 00dca1b commit 317afd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/keycloak.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default class KeycloakScheme extends Oauth2Scheme {
logout() {
if (this.options.endpoints.logout) {
const opts = {
redirect_uri: this.logoutRedirectURI,
client_id: this.options.clientId,
post_logout_redirect_uri: this.logoutRedirectURI,
};
const url = this.options.endpoints.logout + '?' + encodeQuery(opts);
window.location.replace(url);
Expand Down

0 comments on commit 317afd0

Please sign in to comment.