pdonorio / angulask

A project to template flask web server to meet angularjs
0 stars 0 forks source link

How to share the token between Flask and AngularJS #15

Closed mdantonio closed 7 years ago

pdonorio commented 8 years ago

Waiting for pdonorio/rest-mock#3

pdonorio commented 8 years ago

Angular could call domain/getlogin which is an endpoint implemented in flask frontend.

This endpoint should sniff the token via server and reroute it to angular.

So the new schema would be:

USER(credentials) -> angular(satellizer?) -> flask(getlogin_frontend) -> flask(security_login)

pdonorio commented 8 years ago

@mdantonio can study on angular https://satellizer.herokuapp.com/#/

pdonorio commented 7 years ago

Ok, this has been done a long time ago XD