Persistent API Bearer Token

Hello guys,

Is it possible to create a persistent API bearer token so another application will not have to authenticate every time it has to start a new job on Orchestrator?

1 Like

Okay, since no one answered, I reached out to UiPath support and this is their answer summarized:

  • This is as per the implementation. Authorization tokens last for a specific amount of time, and there is no option to make it persistent. You can change the amount of time after which the token gets expire by setting the Auth.Bearer.Basic.Expire field in the web.config file.
  • This parameter would be available starting for 2019.4.
    Please refer below guide for more details:
    Orchestrator
  • Auth.Bearer.Basic.Expire - The amount of time after which your bearer token expires. By default, it is set to 30 minutes.
  • Once the value is changed, please perform a IISRESET in order the change to get reflected.

I hope this will help someone who wanted to find the same information.

4 Likes

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