I am using django-oauth2-provider to generate token. But i want to keep one session at a time

266 Views Asked by At

I am using django-oauth2-provider to generate token. But i want to keep one session at a time. Like if a user login at one device and request another login from other device then the initial token should be expired. Can I handle this thing with django-oauth2-privder package

1

There are 1 best solutions below

1
On

Here's another question with some suggestions about how you might make this happen

detect multiple logins into a Django web application