Flask-User
Flask-User copied to clipboard
Using flask-user as authentication server for RESTful service?
Is it recommended to use flask-user as RESTful authentication/authorization API? What kind of problem i would have if i'm using flask-user as RESTful authentication/authorization server?
Flask-User has not been designed to be used as a RESTful authentication/authorization server. If you do decide to try using Flask-User, please let us know about your experience. Thanks!
not sure if there is any change that happened with this? .. i am planning to try to use flask-user as restful service and to use tokens.. changing endpoints as needed. If anyone has any experience with this then it be great if i could get feedback.
No change. I don't understand what you're looking for. Can you please elaborate? Are you looking to_use a service like Auth0 or StormPath? Or are you looking to provide such a service? I'm just uncertain on what role Flask-User is to play. Provide the authentication service? Provide the UI?
Also: have you looked at Flask-Security? They support "JSON/AJAX". Is that what you're looking for? See https://pythonhosted.org/Flask-Security/features.html#json-ajax-support
I think he wants to do authentication via, for example, a token in the HTTP header, to protect a REST API.
Note that being an oauth provider would get this, and conversely, adding token support would be work toward being an oauth provider.