Ask HN: How do you handle authentication in Single Page Applications? Posted by skyisblue on Monday May 29, 2017 @04:00AM from the ask-hn dept. ( 3 comments | 2 points | on HN )
For example to have central router where you check you tokens etc. Take a look this example with auth0 and ReactJS