Currently, the entire authentication mechanism relies on creating a random access token. That might cause some trouble on a greater security level.
How about switching to JWT based authentication ? Python has cool support for JWT and this sits very nicely to Flask overall philosophy.
Here's a repo I created some time ago:
https://github.com/vexy/flask-auth-template
It's implementation of JWT based authentication in Flask. If you'd like to switch this codebase to JWT, I'd be happy to assist.
Currently, the entire authentication mechanism relies on creating a random access token. That might cause some trouble on a greater security level.
How about switching to
JWTbased authentication ? Python has cool support for JWT and this sits very nicely to Flask overall philosophy.Here's a repo I created some time ago:
https://github.com/vexy/flask-auth-template
It's implementation of JWT based authentication in Flask. If you'd like to switch this codebase to JWT, I'd be happy to assist.