Token authentification + Alive

Hello,

I would need help on a solution to manage authentication on an API that returns me a token.
I have a problem when my token expires during my workflows.

How can I renew it when it expires?

Here is the capture to retrieve the TOKEN


As well as the return example:

I also have a GET Alive I don’t know if it’s used for the refresh-token.


Anyway, thanks in advance for your help.

:slight_smile:

Hi @Daradaal, the /api/Authenticated/Alive looks like a test request to make sure a token is valid. Is the first request (/api/Authenticated) used to renew the token? How often would you need to run it to get a fresh token?

My first thought would be to have one workflow simply renewing the token as often as needed and writing the current token somewhere other workflows can read it from (a database or perhaps just a file).

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.