OAuth 2.0 Connecton with Grant Type Password Credentials

Hi All,

We are trying to setup an OAuth 2.0 connection but according with API specs, we need a "Password Credentials" Grant Type but there is not available from the Grant Type options, Is the any option to setup de connection?

Thanks in advance.

Best Regards

@arturoduranmoreno you would need to use the Oauth 2 override section of the iClient. Here is another community post showing how to use Oauth 2 override section and here is an article on how to use it.

You're override body may be something like this:

{
"grant_type":"password",
"client_credentials":"{{iClient.oauth2.clientId}}",
"client_secret":"{{iClient.oauth2.clientSecret}}"
}

Hi @tylerlamparter I already configured the connection according with the shared post but I'm getting the next error

"The domain of request url should be present in iClient.oauth2.validDomainNames"

I configured the domain of the my request but I´m getting the same error. Do you have any ideas about this error?

Thanks in advance.

Best Regards

@arturoduranmoreno can you send api docs and screenshots of your setup?

Thanks @tylerlamparter, I found the issue, the error was because I was using subdomain & domain buy only the domain is required and valid. I did some tests until I got it.

Thanks again for your time and support.

Best regards

Hi Arturo,

We have just released password credentials grant for OAuth 2.0 authentication type.

Let us know if you have any issues while configuring your connection.

Thanks,
Om