# Error login to zero trust and any apps under zero trust

**URL:** <https://forum.pritunl.com/t/error-login-to-zero-trust-and-any-apps-under-zero-trust/1910>\
**Category:** Pritunl Zero\
**Tags:** pritunl-zero\
**Created:** [March 15, 2024, 4:08am UTC](https://forum.pritunl.com/t/error-login-to-zero-trust-and-any-apps-under-zero-trust/1910 "2024-03-15T04:08:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ariretiarno](https://forum.pritunl.com/user_avatar/forum.pritunl.com/ariretiarno/32/517_2.png) [@ariretiarno](https://forum.pritunl.com/u/ariretiarno)\
**Post date:** [March 15, 2024, 4:08am UTC](https://forum.pritunl.com/t/error-login-to-zero-trust-and-any-apps-under-zero-trust/1910/1 "2024-03-15T04:08:14Z")

</div>

Hello,

I was disable login using user pass for admin, and only allow via google sso.  
but now i have error when login via sso  
500 internal server error

 ![Screenshot 2024-03-15 at 11.07.40](https://forum-static.pritunl.com/original/1X/c79f084816f09c80a4bd43c3eb0af42f141238c9.png)

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [March 17, 2024, 1:17pm UTC](https://forum.pritunl.com/t/error-login-to-zero-trust-and-any-apps-under-zero-trust/1910/2 "2024-03-17T13:17:10Z")

</div>

Run `sudo pritunl reset-password` if there are polices preventing login run `sudo pritunl disable-policies`. This will only disable the polices the other settings will not change. If it’s an issue with the host configuration the ID in `/etc/pritunl-zero.json` will need to be cleared then run `sudo systemctl restart pritunl-zero`. This will create a new host with default settings the old host will be shown in the web console and the settings can be copied to the new one.
