We have implemented Auth0 in our Angular app, and are surprised that for new users entering our app we have to load Angular, move to a different site, then reload Angular again on the callback step. Of course, when the token hasn’t expired there are no redirects and everything works as expected.
A few others have had similar questions, but the answers seem to deviate from the Auth0 samples and reference download app and don’t use any of the provided libraries:
http://community.auth0.com/questions/2085/login-flow-is-there-a-way-to-avoid-redirecting-the
http://community.auth0.com/questions/499/best-way-to-use-auth0-without-redirect-in-an-spa
There used to be a popup api (can’t find it any more) that would have provided a far superior user experience and avoided the redirection.
Are there any sensible ways to keep our SPA truly single page and still use Auth0?