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

0

Comments

5 comments
Date Votes
  • ARTURO DURAN MORENO 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}}"
    }
    0
  • Hi Tyler Lamparter 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

     

    0
  • ARTURO DURAN MORENO can you send api docs and screenshots of your setup?

    0
  • Thanks Tyler Lamparter, 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

    0
  • 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

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post