# Trying single page app

**URL:** <https://community.auth0.com/t/trying-single-page-app/111434>\
**Category:** Get Help\
**Tags:** identifier-first, login-experience\
**Created:** [July 17, 2023, 4:07pm UTC](https://community.auth0.com/t/trying-single-page-app/111434 "2023-07-17T16:07:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![philimmo](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@philimmo](https://community.auth0.com/u/philimmo)\
**Post date:** [July 17, 2023, 4:07pm UTC](https://community.auth0.com/t/trying-single-page-app/111434/1 "2023-07-17T16:07:23Z")

</div>

I was trying out the demo for single page app. Installed it and opened localhost:3000. A nice Javascript Sample Project appeared but after Login (that is succesful) I always get an unauthorized message in the user history. Also the state of the login button does not change.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [July 18, 2023, 9:17pm UTC](https://community.auth0.com/t/trying-single-page-app/111434/3 "2023-07-18T21:17:40Z")

</div>

Hi @philimmo,

Welcome to the Auth0 Community!

I have looked at your tenant logs and found the “Unauthorized” error. However, to investigate this issue further, could you please [capture the login events in a HAR file](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files) and send them to me as in a private message?

This will help me trace the origin of the issue.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [August 1, 2023, 1:31am UTC](https://community.auth0.com/t/trying-single-page-app/111434/4 "2023-08-01T01:31:18Z")

</div>

Hi @philimmo,

I am pinging you to see if you are still having any issues.

If you are, please let us know!

Thanks,  
Rueben

---

<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:** [August 15, 2023, 1:31am UTC](https://community.auth0.com/t/trying-single-page-app/111434/5 "2023-08-15T01:31:25Z")

</div>

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