OAuth 2.0 Connecton with Grant Type Password Credentials

Comments

5 comments

  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    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
  • ARTURO DURAN MORENO
    Engaged
    Celigo University Level 4: Legendary

    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
  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

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

    0
  • ARTURO DURAN MORENO
    Engaged
    Celigo University Level 4: Legendary

    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
  • Om Mishra

    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.