[ 
https://issues.apache.org/jira/browse/GUACAMOLE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388287#comment-17388287
 ] 

Antoine Gademer commented on GUACAMOLE-519:
-------------------------------------------

If anyone is interested for a workaround while waiting for a proper solution.

Clone the git-client git repository.

{{Edit the file 
guacamole-client/guacamole/src/main/frontend/src/app/auth/service/authenticationService.js}}

{{Modify the end of the service.logout function (around line 311):}}

{{// Delete old token}}
{{ var result = service.revokeToken(token);}}
{{ // Redirect to Azure AD logout page}}
{{ window.location.href = 
'https://login.microsoftonline.com/XXXXXXXXXXXXXXX/oauth2/v2.0/logout';}}
{{ return result;}}

It works for me. Hope it works for you ! (And thanks again for the guacamole 
community of developer ! Great work !)

> Implement Single Logout on OpenID Extension
> -------------------------------------------
>
>                 Key: GUACAMOLE-519
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-519
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacamole-auth-openid
>         Environment: Ubuntu 16.04
> Tomcat 8
>            Reporter: Kevin Chan
>            Priority: Minor
>
> Currently when using OpenID Connect for authentication, when a user uses the 
> logout link, they get re-authenticated and logged back in.
> Would like to override the logout to send an SLO and/or redirect user to a 
> different site.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to