# Logging in from landing page

**URL:** <https://community.auth0.com/t/logging-in-from-landing-page/96575>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [December 15, 2022, 9:16pm UTC](https://community.auth0.com/t/logging-in-from-landing-page/96575 "2022-12-15T21:16:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![garfieldmoore](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/garfieldmoore/32/41988_2.png) [@garfieldmoore](https://community.auth0.com/u/garfieldmoore)\
**Post date:** [December 15, 2022, 9:16pm UTC](https://community.auth0.com/t/logging-in-from-landing-page/96575/1 "2022-12-15T21:16:31Z")

</div>

I have a landing page in HTML / javascript with a login button. I want to authenticate with Auth0 and redirect to a react app.

I don’t want to combine the landing page and react app as similar questions have concluded.

I am struggling to understand how to navigate between the landing page and react app and check the user is logged, are allowed access to a route or how to check the user info.

---

<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:** [December 15, 2022, 11:35pm UTC](https://community.auth0.com/t/logging-in-from-landing-page/96575/2 "2022-12-15T23:35:13Z")

</div>

Hey there @garfieldmoore welcome to the community!

> [@garfieldmoore](#):
>
> I don’t want to combine the landing page and react app as similar questions have concluded.

I’m not sure if you’ve seen the following topic, and while it pertains to Angular, perhaps you could look into a similar implementation?

> [@How to directly link to login page](https://community.auth0.com/t/how-to-directly-link-to-login-page/31979/5):
>
> Hi @jpayne0061, Could you expose a route that calls the login method from your auth component? I am not an angular expert, but I tried adding a login component and /login route that calls this.auth.login() on init and it directed me to universal login through a redirect.

---

<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:** [December 29, 2022, 11:36pm UTC](https://community.auth0.com/t/logging-in-from-landing-page/96575/4 "2022-12-29T23:36:02Z")

</div>

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