I have been using Auth0 with the default Username-Password-Authentication Realm for awhile now and we are trying to migrate to using our Azure Active Directory. I figured this would be fairly straight forward and the grant type of password_realm would still be acceptable and we would just alter our realm to the name of the Azure Active Directory connector we created. Now when I hit the “Try” in the portal I am take to a Microsoft login box which authenticates just fine and takes me back to my Auth0 success page but when trying from the Auth0.js API or Postman I am only able to return “invalid_request” : “specified strategy does not support requested operation (undefined)”. I am posting the following information to the /oauth/token end point
grant_type - http://auth0.com/oauth/grant-type/password-realm
client_id - client_id for the Auth0 application that has not changed since previous
username - username of user
password - password of user
realm - name_of_azure_connector_in_portal
I am unsure exactly what I could be missing as I have been up and down the documentation for Azure Active Directory with Auth0 and its confusing as to why the portals “Try” test works successfully.
Any help would be greatly appreciated.