Ask HN: How do you handle authentication in Single Page Applications? 2 points by skyisblue 9y ago ↗ HN
[–] sgoran 9y ago ↗ 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 [–] sgoran 9y ago ↗ https://auth0.com/docs/quickstart/spa/react/01-login
3 comments
[ 2.0 ms ] story [ 18.6 ms ] threadFor example to have central router where you check you tokens etc. Take a look this example with auth0 and ReactJS