Showing posts with label authentication. Show all posts
Showing posts with label authentication. Show all posts

Tuesday, May 19, 2015

Flask restful token auth, Flask Login, Security, PyJWT

After playing around with flask login and flask security, I realized that its good for old type of login such as form user/pass. In case u plan to use modern token logins, such as using AngularJS, I advise not using those plugins and rather write it using the native plugin of httpbasicauth.

There's a good article using flask restful token, just tweak it a bit and use PYJWT for the tokens.