deleted deleted • over 7 years ago
Rerouting to new page in Angular on the authentication callback
This may be a general angular questions, but on the callback url we designate for after the user allows access to their inbox (in my case after you press 'allow' on the gmail permissions screen) how would you go about getting the url callback to go to a specific page within your single page application?
Comments are closed.
Tony Blank Manager • over 7 years ago
I'm not quite familiar enough with angular to answer your question. The callback url should be whatever page you want your users to end up on your app following the authentication UX flow. If you want to authenticate users without redirecting them to us, you are able to add users with manual API calls. This blog post has details on how to do that - it's a bit more effort than connect tokens, but you're able to add users without them leaving your app. That might be a better fit for what you're trying to do.