Hey can anyone help me in regards for creating a custom connector using OAuth for authentication

Hey, I hope you are good.

I need some guidance because the built-in connector is not getting the access token from the code it receives from the auth URL. I am inputting the right Token URL but still, for some reason, it is not working for me at all. It just gets the code and gets stuck there.

I do not see any example that can show me how to build a connector using the OAuth method everyone on the internet is using API keys or no auth.. which does not help me at all. There are no recent developments in this regard. So Can anyone help me with this problem?

Best Answer

  • ggenovese
    ggenovese Contributor
    Answer ✓

    The developer portal has some sample code you can refer to. In my experience, the metadata.account.accesstoken value from the authentication section is not accessible in the process data section when you're developing, but the value is accessible once it's published so I just hard-code an access token until it's time to publish.

    https://developer.domo.com/portal/71ec34a2958fe-configure-authentication

Answers

  • ggenovese
    ggenovese Contributor
    Answer ✓

    The developer portal has some sample code you can refer to. In my experience, the metadata.account.accesstoken value from the authentication section is not accessible in the process data section when you're developing, but the value is accessible once it's published so I just hard-code an access token until it's time to publish.

    https://developer.domo.com/portal/71ec34a2958fe-configure-authentication