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

Use login beacon for logged in users #31

Open
jace opened this issue Jun 8, 2018 · 0 comments
Open

Use login beacon for logged in users #31

jace opened this issue Jun 8, 2018 · 0 comments

Comments

@jace
Copy link
Member

jace commented Jun 8, 2018

It is possible for a user to be logged into a client app while not logged into Lastuser, possibly because the login cookie was deleted there. In such a case, the login session will remain valid in the database, so the client app will not recognise the user as having logged out. This becomes a problem for Lastuser APIs like user autocomplete, which will return a 401 asking for client credentials, but with a login prompt shown to the user.

  1. Flask-Lastuser must use the login beacon iframe even if the user is logged in
  2. Lastuser in the login beacon must request a logout in the client app if the user is logged in there but not in Lastuser.
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

1 participant