# Auth0 Angular Sample login not persisting

**URL:** <https://community.auth0.com/t/auth0-angular-sample-login-not-persisting/50772>\
**Category:** Get Help\
**Created:** [October 1, 2020, 3:37am UTC](https://community.auth0.com/t/auth0-angular-sample-login-not-persisting/50772 "2020-10-01T03:37:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emlim23](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emlim23/32/24608_2.png) [@emlim23](https://community.auth0.com/u/emlim23)\
**Post date:** [October 1, 2020, 3:37am UTC](https://community.auth0.com/t/auth0-angular-sample-login-not-persisting/50772/1 "2020-10-01T03:37:29Z")

</div>

I’ve downloaded the example angular app([auth0-angular-samples/Sample-01 at main · auth0-samples/auth0-angular-samples · GitHub](https://github.com/auth0-samples/auth0-angular-samples/tree/master/Sample-01)) from your github and was following along with the quickstart guide([https://auth0.com/docs/quickstart/spa/angular/01-login](https://auth0.com/docs/quickstart/spa/angular/01-login)) but the login does not persist on refresh. I am aware of this [https://community.auth0.com/t/login-not-being-persistent-after-refresh-even-in-sample-angular-project/40412](https://community.auth0.com/t/login-not-being-persistent-after-refresh-even-in-sample-angular-project/40412) issue and the user mentioned that there shouldn’t be any / at the end of the URLs. I made sure of that, but I still have this issue. What else am I missing? Is this a problem with the sample code or my app configuration in the Auth0 dashboard?

---

<div class="post-metadata">

**Author:** ![emlim23](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emlim23/32/24608_2.png) [@emlim23](https://community.auth0.com/u/emlim23)\
**Post date:** [October 1, 2020, 3:51am UTC](https://community.auth0.com/t/auth0-angular-sample-login-not-persisting/50772/2 "2020-10-01T03:51:20Z")

</div>

I also saw this: [Persisting login session on Angular app reload](https://community.auth0.com/t/persisting-login-session-on-angular-app-reload/37957) but there wasn’t any resolution.

I also notice some strange behavior, if I log in using google SSO it logs in fine but also disappears on refresh. But if I login using a standard user name and password, it disappears on refresh but hitting the login button will not take me to auth0 login screen, it’ll log me in right away. In both cases the login does not persist on browser refresh, but they have different behaviors upon clicking the login button again.

---

<div class="post-metadata">

**Author:** ![emlim23](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emlim23/32/24608_2.png) [@emlim23](https://community.auth0.com/u/emlim23)\
**Post date:** [October 1, 2020, 4:00am UTC](https://community.auth0.com/t/auth0-angular-sample-login-not-persisting/50772/3 "2020-10-01T04:00:45Z")

</div>

Furthermore, I tried using the “SampleAuth” application that comes together by default when you create a new Auth0 account. I’m experiencing the same issue with that. I was trying to figure out if it was a configuration issue in my Auth0 settings but still no luck. How can I make the sample angular app work?
