OneCloud - DOMO REST API

I am trying to configure a connection between the application OneCloud and DOMO. OneCloud has a built in DOMO connector but the connection is still not working.

It only asks for client ID and client secret. I have seen a ton of posts about a token but I can't figure out how to get one or if I need one.

Any help would be greatly appreciated.

Tagged:

Answers

  • So there's the steps outlined in the OneCloud BizApp article requiring client ID and secret from the setup to be completed on the OneCloud end. But in order to leverage the APIs in Domo (in this case, importing in data), it will require you to obtain an access token. You can learn more about the steps to do on Domo end here: https://domohelp.domo.com/hc/en-us/articles/360042934494-Managing-Access-Tokens & https://developer.domo.com/docs/authentication/quickstart-5

  • GrantSmith
    GrantSmith Indiana 🥷

    You'll need a client ID and client secret which you generate from https://developer.domo.com/manage-clients. You'll define the specific scopes needed when creating your client. Once you have those you can then pass those to OneCloud to finish your connection



    **Was this post helpful? Click Agree or Like below**

    **Did this solve your problem? Accept it as a solution!**
  • so I have completed the client ID and secret but in reading the instructions and I set up an access token but I don't understand where I am supposed to copy the token.

    The set up in OneCloud only shows that it needs Client ID and secret. When I set up the access token I linked it to our service user account. I named it OneCloud but there was really no information that ties them together, except the Client ID and secret.

    There are no notes to explain this process.


  • so reading more and more, let me be clearer the screen shot below is where I don't know what to do

    I thought I needed to type the request in the cmd prompt on my c drive? but I am not getting the expected return response pictured below

    Also for the request I made the following updates to the command line

    • removed the beginning $ sign
    • XXs are Client ID and Secret (removed for post)
    • scope of this connection is just data

    curl -v -u XXXXXX:XXXXXX "https://XXX.domo.com/oauth/token?grant_type=client_credentials&scope=data"

    The return response from the knowledge page for what I am supposed to get back is here but see below, I copied my actual return response in notepad and blurred out confidential info but I'm not getting anything that resembles the example


    Where do I go from here

  • GrantSmith
    GrantSmith Indiana 🥷

    it appears you only need the client id and secret. Just put those into your connector and it should handle the part about generating an access token



    **Was this post helpful? Click Agree or Like below**

    **Did this solve your problem? Accept it as a solution!**