News for hackers. Stuff that matters.
Re:Ask HN: How do you handle authentication in Single Page A... by sgoran on Monday May 29, 2017 @04:06AM (#14437996)
In SPA you usualy bind pages to routes or hashes.. so that points to something..

For example to have central router where you check you tokens etc. Take a look this example with auth0 and ReactJS

Re:Ask HN: How do you handle authentication in Single Page A... by sgoran on Monday May 29, 2017 @04:06AM (#14437999)