Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Initiate basic login at login screen #45

Open
vbrown608 opened this issue Mar 15, 2016 · 1 comment
Open

Initiate basic login at login screen #45

vbrown608 opened this issue Mar 15, 2016 · 1 comment
Labels

Comments

@vbrown608
Copy link
Collaborator

Currently, users accessing the site through basic auth are logged in automatically.

In the future, we may want to allow them to log in via basic auth by clicking a link on the login screen (similar to "authenticate with google"). This would provide more flexibility, for example allowing users to share a laptop if someone is without theirs.

@vbrown608 vbrown608 added the 2.0 label Mar 15, 2016
@TheNotary
Copy link
Contributor

This sounds great. It's possible to write a cookie to the user's machine too... so if someone actually clicks the logout buttom, bam they get the "logged out" cookie, and conditionally we can prevent the autologin stuff from taking place if the cookie is found on subsequent requests. Also, prevent the code from running for users who are already logged in. and upon successful login, we can delete this cookie off the client machine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants