Skip to content
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

UI: Log out button #66

Open
paulcmal opened this issue Jun 9, 2018 · 3 comments
Open

UI: Log out button #66

paulcmal opened this issue Jun 9, 2018 · 3 comments

Comments

@paulcmal
Copy link
Contributor

paulcmal commented Jun 9, 2018

It's really sweet to use HTTP auth (instead of ugly cookies) but we need a way to log out so as not to leave a session open unintentionally.

I was reading this which suggested to run a Javascript query in the background with wrong credentials, so that the server returns a 401 code which forces the browser to purge authentication details without prompting the user with a login dialog.

@maghoff
Copy link
Owner

maghoff commented Jun 9, 2018

That's a fair concern, but unfortunately an unworkable solution. Sausagewiki has no particular preference for HTTP auth, and can work with other auth schemes, see Third-party authentication providers for examples. As such, Sausagewiki will not include support for logging out of HTTP auth in particular.

@maghoff maghoff closed this as completed Jun 9, 2018
@paulcmal
Copy link
Contributor Author

paulcmal commented Jun 9, 2018

OK. Could we maybe do something such as passing an additional HTTP header containing a link to a log out page? This way an actual log out button could be added to the UI, and the server handling the authentication would be able to handle logging out as well.

@maghoff
Copy link
Owner

maghoff commented Jun 9, 2018

Right, something like that could be designed.

I'll reopen this to have as a feature request.

@maghoff maghoff reopened this Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants