-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to set a Sign Out URL when using auth proxy #17716
Comments
Why don't redirect it in your reverse proxy configuration file? |
Ahh that's also an approach to do it. You're talking about a redirect or a return? Do you know what the logout URL is that I can use?
|
|
Why not simply change the head_navbar.tmpl to be the correct logout url? |
Good point. But currently all changes can be done from the config file, adding another parameter for the logoutURL makes implementation (and documentation) a bit easier for Gitea admins. |
I understand but I'm not certain we should jump to make this configurable without allowing other authenticators eg. OAuth2 or LDAP to cascade their logouts too. Although as #17740 would likely require a cascading logout this would be a reason to implement it sooner. |
related / possible duplicate: #14270 |
Could you advice me how to achieve logging out from Gitea and from the auth provider? So I thought, I can change the gitea/templates/base/head_navbar.tmpl Lines 179 to 181 in f58e687
But still, Gitea redirects me to |
Currently it looks like the redirect is actually happening on the server side as a response to the Adding a config option to be able to set the logout redirect URL in |
any idea when this logout with reverse proxy will get resolved ? but when logout happens from gitea, it does not call logout from webseal.. |
Dup of #14270 ? |
Feature Description
It would be great if there would be an option to change the logout URL when using the ENABLE_REVERSE_PROXY_AUTHENTICATION setting. This way we can redirect to the Sign Out page of the authentication handler eg: https://auth.domain.com/logout
Screenshots
No response
The text was updated successfully, but these errors were encountered: