- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-12-2020 01:10 AM
Hi!
We are setting up a Webhook Connector with OAUTH2 pointing to an API tha requires a token to allow sending HTTP Request with info
We are wondering how does TES handle this kind of situation and we have some questions:
We have to setup this connection between APIs manually, we cannot use one of built-in connectors
Could you help us to answer this questions?
Thanks in advance
03-26-2020 07:36 AM - edited 03-26-2020 07:39 AM
Hugo,
It looks like you reached out to Tealium Support for this request; however, I wanted to place those answers below as there's interest from other members of the community regarding this topic (going off Kudos for this post):
Q: Does it handle the Token Retrieval? (We think the answer is yes, but just to be sure)
A: Yes, the connector to use would vary depending on your scenario, but typically the three-legged webhook would be the correct connector to use. While the webhook supports complex authentication, there are times when a custom connector would be required.
Q: Does it ask for the Token every time before a POST with info?
A: Yes.
Q: What happens if the token is invalid (for whatever reason)?
A: This would vary depending on the endpoint - typically this would return an error (possibly a 401), but ultimately this depends on how the endpoint is configured to handle bad requests.
Q: If a token value previously acquired has an expiration time of 15 minutes ¿Does it renew it after 15 minutes?
A: It's possible to use a refresh token, as described here: https://auth0.com/learn/refresh-tokens/
Copyright All Rights Reserved © 2008-2023