How to reauthorize the connection if token validity expires?

I want to create an authorization for the custom app. But the token expires after 24 hrs. How can I manage the authorization automatically if the token expires?

Hi @Omraj_Pradhan,

Based on the authentication method of the service you are trying to connect, you should pick the right connection: Connections | Make Developer Hub

If the API requires a token exchange, set up the connection structure accordingly and the token will be refreshed automatically by Make.

Cheers,
@Henk-Operative

Hello @Henk-Operative
I have a Basic Auth connection for Authentication from where I’m get token to create connection. But the token has an expiry. And I need to “Verify” the connection when it expires.
Question 1 : Can this “Verify” part be done automatically?
Question 2 : Can I regenerate the token when the modules gives an error?

Hello @Omraj_Pradhan,

That seems like a special implementation of the API; Normally, Basic Authentication in HTTP does not require the exchange of new tokens. Basic Authentication is a simple authentication method where the client sends a Base64-encoded username and password in the Authorization header with each request. (Basic access authentication - Wikipedia)

Make is fully setup to verify (based on expiry timestamps) whenever a token should be renewed and will renew this automatically.

Cheers,
Henk