I know you have to redirect route outside of angular to prevent double login. I have tried this and it works, but I am getting issue when deploying this in production, because its SPA. And callback breaks because it isn't loaded from route to initialize SPA. So I ask if you have example with redirect html that initializes callback to SPA.