<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006yQP1zSAGOkta Classic EngineOkta Integration NetworkAnswered2024-04-16T13:48:28.000Z2019-11-06T23:27:57.000Z2019-11-09T03:05:07.000Z
Okta API call to Request or Refresh Okta API Token

We are going to be running system using the Okta API that need to be fully automated and run over a period of many months. Currently the manual created Okta API tokens issued are likely to expire a few times during this period.

 

To ensure our systems do not stop running when the manually issued API token expires can I would like to use the Okta API to request or refresh the Okta API token?

I would expect this would follow the process of OpenId+OAuth User Token being sent to obtain the new sever OAuth Token.

 

So far I haven't been able to find documentation describing how to do this with Okta.

Can anyone point me in the right direction?

 

 

 


  • 8n9yw (8n9yw)

    easy answer...don't over think it... make a scheduled task to simply use the token to auth to okta every 25 days​

    we do this for all our automation tokens just to make sure they don't expire. to be clear if they are used 1 time every 30 days they don't expire.

  • Thanks Joe,

    I think that should be good enough for what we're doing for now. Our main usage is unlikely to result in 30 days passing without a call being made and a scheduled task doing a health check ping should fit nicely into the design.

     

This question is closed.
Loading
Okta API call to Request or Refresh Okta API Token