# Single HTML page app

**URL:** <https://community.auth0.com/t/single-html-page-app/129919>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [March 18, 2024, 5:44pm UTC](https://community.auth0.com/t/single-html-page-app/129919 "2024-03-18T17:44:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbuckley](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@tbuckley](https://community.auth0.com/u/tbuckley)\
**Post date:** [March 18, 2024, 5:44pm UTC](https://community.auth0.com/t/single-html-page-app/129919/1 "2024-03-18T17:44:42Z")

</div>

I am attempting to use Auth0 to login / register to access a relatively simple html page. The redirect to 'page.html ’ works. However; all attempts to redirect a non-login user back log in or register have failed. hmmm… would building the .html page in react solve the problem? or is the issue something simple and I’ll learn to build in ‘React’ when time permits.

---

<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:** [March 18, 2024, 8:22pm UTC](https://community.auth0.com/t/single-html-page-app/129919/3 "2024-03-18T20:22:09Z")

</div>

Hey there @tbuckley welcome to the community!

> [@tbuckley](#):
>
> However; all attempts to redirect a non-login user back log in or register have failed. hmmm… would building the .html page in react solve the problem? or is the issue something simple and I’ll learn to build in ‘React’ when time permits.

How exactly is this failing for you? The more detail you can provide here the better. Are you using any SDK at all? If not, doing so will certainly simplify things 🙂 Aside from React or other frontend frameworks, we do also provide a [vanilla JS SDK](https://auth0.com/docs/quickstart/spa/vanillajs) which could be useful.

---

<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:** [April 1, 2024, 8:22pm UTC](https://community.auth0.com/t/single-html-page-app/129919/4 "2024-04-01T20:22:20Z")

</div>

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