AdrianFerJ / v2go-api

V2go web app's repo contains client and server apps (django and angular), and infastructure setup for both apps, postgres, redis, and nginx using docker
0 stars 0 forks source link

Use Token Authentication instead of Session Authentication #46

Open niroigen opened 5 years ago

niroigen commented 5 years ago

It seems to be that for REST applications we would like to follow a stateless system. But a session authentication system is a stateful system. The link below explains the difference in better detail. And it seems like stateless is the way to go!

https://nordicapis.com/defining-stateful-vs-stateless-web-services/ https://security.stackexchange.com/questions/81756/session-authentication-vs-token-authentication