# Auth0 universal login without login button

**URL:** <https://community.auth0.com/t/auth0-universal-login-without-login-button/105192>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [April 20, 2023, 7:48pm UTC](https://community.auth0.com/t/auth0-universal-login-without-login-button/105192 "2023-04-20T19:48:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fidorensebb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fidorensebb/32/46573_2.png) [@fidorensebb](https://community.auth0.com/u/fidorensebb)\
**Post date:** [April 20, 2023, 7:48pm UTC](https://community.auth0.com/t/auth0-universal-login-without-login-button/105192/1 "2023-04-20T19:48:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 20, 2023, 9:49pm UTC](https://community.auth0.com/t/auth0-universal-login-without-login-button/105192/3 "2023-04-20T21:49:37Z")

</div>

Hey there @fidorensebb welcome to the community!

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

> **[Auth0ContextInterface | @auth0/auth0-react](https://auth0.github.io/auth0-react/interfaces/Auth0ContextInterface.html#loginWithRedirect)**
>
> Documentation for @auth0/auth0-react

While this is typically called by some sort of [login function](https://auth0.com/docs/libraries/auth0-react#login), your use case should be possible.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 4, 2023, 9:49pm UTC](https://community.auth0.com/t/auth0-universal-login-without-login-button/105192/4 "2023-05-04T21:49:48Z")

</div>

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