Resource Owner Password Grant: How to Dynamically Specify Connection?

Hi everyone,

I managed to solve my issue by switching to the password-realm grant type and including the realm parameter in the request. This allowed me to specify the connection dynamically, which works perfectly for my use case.

Thanks for the resources and support!

https://auth0.com/docs/get-started/authentication-and-authorization-flow/resource-owner-password-flow/call-your-api-using-resource-owner-password-flow#configure-realm-support