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

Add sessions (active tokens) management #9

Open
merwok opened this issue Jan 19, 2018 · 3 comments
Open

Add sessions (active tokens) management #9

merwok opened this issue Jan 19, 2018 · 3 comments
Labels

Comments

@merwok
Copy link
Contributor

merwok commented Jan 19, 2018

  • Store user-agent, client IP, last login time (last usage time?)
  • Basic API view for active sessions (= active tokens)
  • DELETE view to expire a session
  • HTML example in demo
  • Fix issue in get or create facebook user (should try to get by facebook_id first in case the demo user email is now different from the fb email)
@merwok merwok changed the title Improve token management Add sessions (active tokens) management Jan 19, 2018
@merwok merwok added the feature label Feb 21, 2018
@merwok
Copy link
Contributor Author

merwok commented Sep 21, 2018

Question: should the class be named Session (with token field), Token (with key field), something else?

edit Session would be to confusing w.r.t django.contrib.sessions

Token is fine.

@just1602
Copy link

It would be nice if the user-agent, client ip and other visitor infos storing could be an option to turn on/off.

@merwok
Copy link
Contributor Author

merwok commented Sep 21, 2018

We could always support a minimal session/token class and a full-featured one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants