Proper way for user authentication with angularjs and flask

前端 未结 2 1716
滥情空心
滥情空心 2021-01-31 05:59

I\'m currently working my way through Web development with flask. I want to build a webapp with flask as backend and angular.js at the frontend. The Json part is straight forwar

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-31 07:02

    You can use flask-security together with Angular. You can even get CSRF support. I simply disabled WTFForms support and used the Flask backend only as REST API. I wrote a tutorial how to do this here. Source code is also available.

提交回复
热议问题