Deploy and Schedule Get Token Process
The JWT token generally expires in 30 minutes and the OAuth access token expires in 60 minutes. It should be refreshed periodically before it expires. The Get Token process can be deployed and executed as a separate process running periodically to refresh the stored token in the Environment Extensions.
Â
Verify the token is written to the Environment Extensions successfully.
Â
During token refresh, connectors in other running processes using the previous token will return the 401 application error code. A retry mechanism to get the new token from the Environment Extensions should be implemented. Another approach, if possible, is to schedule all these processes not to run during the time when the token refresh process is executed in Atom Management.
Â
Â