Oauth url

Hello, I am trying to create a custom connector using Oauth2. When I test the Oauth2 using Postman it works like a charm, I get the access Token, when I use the Domo Connector Builder it does not work. All parameters are the same the only difference is that with postman the callback url is: 

https://www.getpostman.com/oauth2/callback

and with Domo is: 

https://api.domo.com/builder/oauth.html

when i inspect the console on chrome, the domo one says the following: Uncaught TypeError: Cannot read property 'setCode' of null

 

All parameters are the same, the only difference is that callback url. This is how the URL looks:

https://api.domo.com/builder/oauth.html?merchant_id=*********&employee_id=**********&client_id=*******#access_token=*******-ea1c-51e6-fcb4-*******

 

What am I missing? Thanks

Best Answer

  • zcameron
    zcameron Contributor
    Answer ✓

    Would you feel comfortable posting the authentication code here so others could see if anything jumps out at them?

     

    Otherwise, if you're sure the code is correct, you could reach out to ConnectorHelp@domo.com and give them the details of the custom connector you're working on. They may be able to see if there is a configuration problem with the connector or the IDE.

Answers

  • zcameron
    zcameron Contributor
    Answer ✓

    Would you feel comfortable posting the authentication code here so others could see if anything jumps out at them?

     

    Otherwise, if you're sure the code is correct, you could reach out to ConnectorHelp@domo.com and give them the details of the custom connector you're working on. They may be able to see if there is a configuration problem with the connector or the IDE.

  • It ended up being configuration on the API end. Thanks for the reply!!!