Re:JSON Web Tokens vs. Sessions
by blazespin on Saturday June 18, 2016 @04:10PM
(#11930392)
you can do a combination of session and jwt. your firewall manages the session, and the jwt can be used internally and effective decouples your architecture and the firewall (except you will need to send a logout message to the firewall if the user choses to logout)
the jwt is useful as a capability model if you've broken your internal arch into stateless microservices.
the jwt is useful as a capability model if you've broken your internal arch into stateless microservices.