'How to enable login in only one device per user using flask, jwt_token and mongodb
I am implementing the features in the Flask application where I want to make sure that users can log in from only one device. And if login is done from other platforms, previous login(access_token and refresh_token) will automatically expire from the backend.
In short, I want to add a feature in the application where one user can log in to a single device. Limit the user can login in the application
I have try to implement this features in the application
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
