I’m trying to implement Auth0 for the first time. I’m trying to use the embedded login in an Angular project and downloaded the git repo with the example. When I set it up and run it, the page redirects rather than working async. Looking at the code in the repo, I see a handleAuthentication
method, which seems to indicate it should work async. Am I wrong in this? I also see the method called on page load, but I assumed that was for when someone visited the app having the token stored.
In general, I don’t really seem to get what’s going in the repo; I see the callback-cross-auth.html
file, but I don’t see it included anywhere, and I’m not sure how it’s working.
Hope someone can lend me some advice?