# Getting error when logging in using database and hosted login page --\> access\_denied: Password login is disabled for clients using externally hosted login pages with oidc\_conformant flag set

**URL:** <https://community.auth0.com/t/getting-error-when-logging-in-using-database-and-hosted-login-page-access-denied-password-login-is-disabled-for-clients-using-externally-hosted-login-pages-with-oidc-conformant-flag-set/9124>\
**Category:** Get Help\
**Tags:** hosted-login-page, database-connections\
**Created:** [January 3, 2018, 10:28pm UTC](https://community.auth0.com/t/getting-error-when-logging-in-using-database-and-hosted-login-page-access-denied-password-login-is-disabled-for-clients-using-externally-hosted-login-pages-with-oidc-conformant-flag-set/9124 "2018-01-03T22:28:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![services](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@services](https://community.auth0.com/u/services)\
**Post date:** [January 3, 2018, 10:28pm UTC](https://community.auth0.com/t/getting-error-when-logging-in-using-database-and-hosted-login-page-access-denied-password-login-is-disabled-for-clients-using-externally-hosted-login-pages-with-oidc-conformant-flag-set/9124/1 "2018-01-03T22:28:52Z")

</div>

Social connections such as Google work, but when I try to use a database connection I get the following error:

access\_denied: Password login is disabled for clients using externally hosted login pages with oidc\_conformant flag set.

The weird thing is that I **am** using the Auth0 hosted login page. Is there anything else I can try?

(Update)  
I’ve switched over to a custom database and now I get a different error when signing up. On the sign up page I see:  
WE’RE SORRY, SOMETHING WENT WRONG WHEN ATTEMPTING TO SIGN UP.

In the logs, I see:  
Type Failed Signup  
Description email is not defined

---

<div class="post-metadata">

**Author:** ![anders1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@anders1](https://community.auth0.com/u/anders1)\
**Post date:** [January 28, 2018, 6:45pm UTC](https://community.auth0.com/t/getting-error-when-logging-in-using-database-and-hosted-login-page-access-denied-password-login-is-disabled-for-clients-using-externally-hosted-login-pages-with-oidc-conformant-flag-set/9124/2 "2018-01-28T18:45:35Z")

</div>

I have a similar issue with my application, a Xamarin.Forms app.

This is only occurring for one user and I cannot reproduce it. The user is able to sign up but login fails with error message: “Password login via OIDC-conformant clients with externally-hosted login pages is unsupported. Alternatively, login could have been initiated from the wrong place (e.g., a bookmark).”

He uses a Samsung S8, and I have tried to use my Samsung S8 to login with email/password as well as facebook login - both works as expected.

The application uses Auth0.OidcClient.Android and Hosted Login Page.

---

<div class="post-metadata">

**Author:** ![priya.sharma.9362](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/priya.sharma.9362/32/14302_2.png) [@priya.sharma.9362](https://community.auth0.com/u/priya.sharma.9362)\
**Post date:** [January 29, 2018, 8:57pm UTC](https://community.auth0.com/t/getting-error-when-logging-in-using-database-and-hosted-login-page-access-denied-password-login-is-disabled-for-clients-using-externally-hosted-login-pages-with-oidc-conformant-flag-set/9124/3 "2018-01-29T20:57:06Z")

</div>

Hi @services

Perhaps the OIDC conformant flag for your client has been enabled (intentionally or unintentionally) which is causing your requests to be rejected, as it disables some legacy features and username-password-authentication is a legacy approach. You can explore more about it [here](https://auth0.com/docs/api-auth/tutorials/adoption/oidc-conformant)

Additionally please check that you have enabled password grant under your client advanced settings  
![image][1]

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 9:46am UTC](https://community.auth0.com/t/getting-error-when-logging-in-using-database-and-hosted-login-page-access-denied-password-login-is-disabled-for-clients-using-externally-hosted-login-pages-with-oidc-conformant-flag-set/9124/4 "2019-07-25T09:46:34Z")

</div>


