Hi, I am using auth0 authentication in my Angular6 Application. When I use button to trigger auth0 login page it works fine. But instead of that I call the method in constructor, same auth0 page repeating 2 to 3 times.
Any suggestion?
Put a console.log(“login button fired”) in your button event and comment out your auth0 code. I bet it does multiple times. Usually the cause of that is missing unsubscribe.{somesubject} onUnload(). So most likely you are dealing with a standard Angular issue not a Auth0 specific. That being said code is needed for further help like Jeremy said.