Authentication - How-To

I need to Authenticate with a 3PL API.
The Documentation says it provides us a Client ID & Client Secret along with an Authentication URL.
Sending a request with Client ID & Client Secret to Authentication URL will provide a response back with the following:
1. Access Token.
2. Expires In.
3. URL.

I need to send every following request with Access Token & When it Expires I need to Generate a new Access Token from the Returned URL and Generate a new Access Token.

How can I accomplish this with an HTTP Connector ?
Some Insights into how Celigo does it would be great.

Thanks In Advance for taking out time and responding to my Query.
Appreciate your help.

It sounds like you need to follow the OAuth 2.0 setup OR Token Based with a refresh token, but I assume it's OAuth 2.0. Here is the help article with the various authentication setups for HTTP.

https://docs.celigo.com/hc/en-us/articles/360039586072-Set-up-an-OAuth-2-0-HTTP-connection
https://docs.celigo.com/hc/en-us/articles/360045127771-Set-up-a-token-based-HTTP-connection