News for hackers. Stuff that matters.
Re:JSON Web Tokens by alexanderblom on Monday September 08, 2014 @02:45AM (#8283671)
One way of doing it is having an out-of-bands way of refreshing tokens in responses. So if the token is about to expire you can return an updated one on the side-channel.
Re:JSON Web Tokens by robotrobot on Monday September 08, 2014 @05:50AM (#8284012)
We've been doing this for a while in our angular apps using response interceptors: http://engineering.talis.com/articles/elegant-api-auth-angul...
Re:JSON Web Tokens by flaie on Monday September 08, 2014 @08:45AM (#8284417)
This is a great write-up.