Okta RADIUS Agent Install Fails with Error "Failed to save properties com.okta.agent.AgentRuntimeException: OAuth Code has expired, please restart the registration process"
Okta Classic Engine
Multi-Factor Authentication
Overview

When installing a RADIUS agent on a Windows server, the installation halts during the agent registration process. Checking the agent log file states the following error:

ERROR - Failed to save properties
com.okta.agent.AgentRuntimeException: OAuth Code has expired, please restart the registration process.
at com.okta.agent.api.http.RestClient.getTokenFromOAuthCode(RestClient.java:316)
at com.okta.ragent.util.ValidatorUtil.validateCmdArgs(ValidatorUtil.java:181)
at com.okta.ragent.app.Agent.main(Agent.java:31

Applies To
  • RADIUS Agent
  • Internet Explorer
  • Okta Classic Engine
Cause
Okta agent installer does not control the Internet Explorer proxy settings, and if the proxy config does not match with the agent installer, it can generate errors stating:

OAuth code has expired
 
Solution

RADIUS Agent install requires them to enter the proxy information if a proxy is utilized on the server. The same proxy configuration also needs to be configured directly in Internet Explorer on the same server. For more information on proxy configuration for Internet Explorer, please refer to the references below. 
 

Related References

Recommended content

No recommended content found...