Auth0 universal login without login button

Hello community, I wonder if you can help me to tackle this case, I’m trying to implement Auth0 Universal Login in my react app, but d like to set up Auth0 Universal Login as the first view(page) of my app, I mean, is there a way this can be implemented without it being necessary to create a login button for it to call the Auth0 Universal Login view.

If you need more info that helps you understand better my case, please feel free to reach me out.

Hey there @fidorensebb welcome to the community!

You should be able to do this by calling loginWithRedirect() when you first load your app - See:

While this is typically called by some sort of login function, your use case should be possible.

Hope this helps!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.