Authentication URL different than Connection Base URI
Hello,
It seems Celigo doesn't have any out-of-box capabilities to integrate with Plytix PIM API, so, I think I need to make use of some of those universal HTTP connectors.
I'm trying to follow this help article:
Set up a token-based HTTP connection – Celigo Help Center
The very first thing I'm having issues with, is that the Authentication URL for this API is https://auth.plytix.com/auth/api/get-token, whereas the Base URI for the rest of the whole API is https://pim.plytix.com/api/v1/
How can I setup this Token Based Connector to get the Token from one URL, and actually have all the other flows work with the base URI https://pim.plytix.com/api/v1/?
And then my second question, is that Plytix asks us to send an API Key and Password through a POST call, but I didn't find anything on the Token authentication that lets me add a Body to be sent via POST.
Anyone that can assist me in getting this connection setup?
Thanks in advance.
Comments
Marcelo Borges the field name and relative text underneath is a little misleading, but the relative url field under the refresh token section allows a full url. There is a note in that KB article you linked.
Marcelo Borges should look something like this. You should put your key and password in the encrypted field and then reference the encrypted field with handlebar expressions in the post body.
Encrypted field:
Post body:
Tyler Lamparter thank you so much. This very detailed screenshots helped me through the process now. I was just confused between the Token and the Refresh Token parts of the setup. But understanding that I could include a whole different URL for authentication purposes, that made the difference and I really haven't paid attention to on the article. Tks tons!
Please sign in to leave a comment.