# Unable to use Password Realm Grant Type despite having Essentials Plan with Home Realm Discovery

**URL:** <https://community.auth0.com/t/unable-to-use-password-realm-grant-type-despite-having-essentials-plan-with-home-realm-discovery/190026>\
**Category:** Get Help\
**Tags:** grants, management-api\
**Created:** [August 1, 2025, 3:10pm UTC](https://community.auth0.com/t/unable-to-use-password-realm-grant-type-despite-having-essentials-plan-with-home-realm-discovery/190026 "2025-08-01T15:10:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EBA](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eba/32/73264_2.png) [@EBA](https://community.auth0.com/u/EBA)\
**Post date:** [August 1, 2025, 3:10pm UTC](https://community.auth0.com/t/unable-to-use-password-realm-grant-type-despite-having-essentials-plan-with-home-realm-discovery/190026/1 "2025-08-01T15:10:58Z")

</div>

Hello,

I’m trying to implement the Resource Owner Password Flow with realm support for my application, but I’m encountering issues with the `password-realm` grant type.

**My setup:**

- Plan: B2B Essentials (includes Home Realm Discovery feature)
- Application: Tests Eric (Client ID: 1234)
- Multiple database connections per application (tests-eric, client1, client2, etc.)

**The problem:** I need to use different database connections for different applications without setting a global Default Directory at the tenant level. According to your documentation, I should be able to use:

```auto
grant_type=http://auth0.com/oauth/grant-type/password-realm
realm=tests-eric

```

However, when I attempt this request, I get:

```auto
{"error":"unauthorized_client","error_description":"Grant type 'http://auth0.com/oauth/grant-type/password-realm' not allowed for the client."}

```

**Questions:**

1. How do I enable the `password-realm` grant type for my application?
2. I don’t see this option in Applications → Advanced Settings → Grant Types
3. Is there additional configuration needed to activate Home Realm Discovery?

**What works:**

- Regular Password Grant works when I set a Default Directory globally
- But I cannot use a global Default Directory due to multiple isolated applications

Could you please help me configure the Password Realm grant type for my application?

Thank you for your assistance.

Best regards, Eric

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [August 1, 2025, 5:35pm UTC](https://community.auth0.com/t/unable-to-use-password-realm-grant-type-despite-having-essentials-plan-with-home-realm-discovery/190026/3 "2025-08-01T17:35:07Z")

</div>

Hi @EBA,

Welcome to the Auth0 Community and thank you for your post!

The reason for this error should be enabling the `password` grant directly via the Management API, which will not enable the `https://auth0.com/oauth/grant-type/password-realm` as well. This Knowledge article - [Error “Grant type ‘https://auth0.com/oauth/grant-type/password-realm’ not allowed for the client”](https://community.auth0.com/t/error-grant-type-https-auth0-com-oauth-grant-type-password-realm-not-allowed-for-the-client/112777) specifies 2 possible solutions for this error:

- Turn the ‘Password’ grant type off \> **Save** \> and then on again \> **Save** in the dashboard.

- update the client via the [Management API](https://auth0.com/docs/api/management/v2#!/Clients/patch_clients_by_id) using a command such as this:

```auto
curl -L -X PATCH 'https://YOUR-DOMAIN.auth0.com/api/v2/clients/YOUR-CLIENT-ID' \

-H 'Content-Type: application/json' \

-H 'Accept: application/json' \

-H 'Authorization: Bearer 🔒' \

-d '{"grant_types":["password","http://auth0.com/oauth/grant-type/password-realm"]}'

```

I hope this helps!  
Thanks,  
Remus

---

<div class="post-metadata">

**Author:** ![EBA](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eba/32/73264_2.png) [@EBA](https://community.auth0.com/u/EBA)\
**Post date:** [August 5, 2025, 8:31am UTC](https://community.auth0.com/t/unable-to-use-password-realm-grant-type-despite-having-essentials-plan-with-home-realm-discovery/190026/4 "2025-08-05T08:31:22Z")

</div>

Thank you 😀! It worked using the Management API.

---

<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 19, 2025, 8:31am UTC](https://community.auth0.com/t/unable-to-use-password-realm-grant-type-despite-having-essentials-plan-with-home-realm-discovery/190026/5 "2025-08-19T08:31:33Z")

</div>

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