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:
grant_type=http://auth0.com/oauth/grant-type/password-realm
realm=tests-eric
However, when I attempt this request, I get:
{"error":"unauthorized_client","error_description":"Grant type 'http://auth0.com/oauth/grant-type/password-realm' not allowed for the client."}
Questions:
- How do I enable the
password-realm
grant type for my application? - I don’t see this option in Applications → Advanced Settings → Grant Types
- 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