Reputation: 5087
I'm building a simple web server in Flask which returns JSON data from REST requests.
The server communicates with an Angular front-end.
I want to manage user authentication and sessions (with crowd), but saw there are various ways to implement this.
It's unclear to me at which level I should implement the session (and authentification) management:
What is the preferable approach for this?
Thank you
Upvotes: 0
Views: 232
Reputation: 59
In my opinion, the good authentication and sessions carried out on the server-side The advantage is that you can manage the user when login or log out and then more secure
Upvotes: 0