I’m trying to assemble a basic custom login flow using auth0-js (cannot use auth0 hosted login).
When I call auth0 login, not only do the console.logs not get executed but the page refreshes with the addition of the token in the URL after a hash.
I want to be able to login without the page refreshing and for the function to be called and responses to be logged.
I’m using the latest version of angular and the below code is in a service.
I must use auth0-js as I need custom login behaviour.