Using the Request Owner Password Endpoint on a new dev account

Thanks @Carlos_Mostek,

Unfortunate we are talking about a legacy application. Whilst adding login via a browser (probably by bundling in a webkit browser) is planned, this is will not happen for a while and is out of my control. In the mean-time we need to add 0Auth2/OpenIDC so ROPG seems like the way to go right now.

I’ve tried using the endpoint you indicated, but I am getting the following 500 Internal Server Error response:

{
    "error": "server_error",
    "error_description": "Authorization server not configured with default connection."
}
POST https://{URL}.eu.auth0.com/oauth/token
{
    "client_id": "***",
    "connection": "email",
    "grant_type": "password",
    "username": "***",
    "password": "***",
    "scope": "openid"
}

Reading around the forum, it looks like I need to set the Default Directory in (my) the test user’s account settings. Could you clarify what I need to set this value too?

Thanks.

kind regards,
Aitzol

2 Likes