Hello. We have a rule setup to check our login requests for a custom property named “x_client_id” that is passed in the request body to an /oauth/token call. However we are not able to add this property using the Java library from GitHub as there doesn’t seem to be a function to add custom properties to the auth.login(…) call. Everything works great using Postman.
POST /oauth/token
{
"grant_type": "http://auth0.com/oauth/grant-type/password-realm",
"client_id": "xxx",
"client_secret": "yyy",
"username": "ggrissom@nasa.org",
"password": "zzz",
"scope": "openid profile offline_access",
"realm": "Username-Password-Authentication",
"audience": "https://xyz.auth0.com/userinfo",
"x_client_id": "ANBC"
}
Is there something that we aren’t seeing in the Java library? If not, is there any chance we could get something added in a newer version to do this? Maybe a function that accepts a Map of key/value pairs to add to the request body?