Skip to content

Commit

Permalink
Better Apache configuration for Shibboleth local logout
Browse files Browse the repository at this point in the history
Better Apache HTTP Server configuration to support ending the Shibboleth
SP session when the Logout button is clicked.
  • Loading branch information
skoranda committed Jan 2, 2018
1 parent 2da8566 commit 844fe7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions comanage-registry-shibboleth-sp/000-comanage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@
Require shibboleth
</Location>

RewriteEngine On
RewriteCond %{QUERY_STRING} !after_redirect
RewriteRule ^/registry/auth/logout.* https://%%SERVER_NAME%%/Shibboleth.sso/Logout?return=https://%%SERVER_NAME%%/registry/auth/logout/?after_redirect [L,R]

</VirtualHost>

0 comments on commit 844fe7e

Please sign in to comment.