Download the Okta Verify Installer Programmatically
Last Updated:
Overview
Administrators may download the latest Okta Verify installer programmatically using the artifacts API endpoint to facilitate scripting and automation. While Okta provides dynamic download endpoints that target the latest Windows Generally Available (GA) and Early Access (EA) releases, the macOS endpoint requires specific version parameters and manual updates during deployment.
Applies To
- Okta Identity Engine (OIE)
- Okta Verify
- Multi-Factor Authentication (MFA)
- API
- Latest Version
- Download
Solution
How is the Okta Verify installer downloaded programmatically?
Call the artifact download endpoint using the GET method, replacing the <Okta Domain> parameter in the URL with the specific Okta domain for the organization.
- To download the Windows GA version, execute the following request:
GET https://<Okta Domain>.okta.com/api/v1/artifacts/WINDOWS_OKTA_VERIFY/download?releaseChannel=GA&packageType=EXE
- To download the Windows EA version, execute the following request:
GET https://<Okta Domain>.okta.com/api/v1/artifacts/WINDOWS_OKTA_VERIFY/download?releaseChannel=EA&packageType=EXE
- To download the macOS version, execute the following request using the required
<version>and<revision>numbers:GET https://<Okta Domain>.okta.com/artifacts/OKTA_VERIFY_MACOS/<version>/<revision>.pkg -
To automate the download using cURL, enable redirects with the
-Lflag and specify an output file with-oby executing the following command:cURL -L "https://<Okta Domain>.okta.com/api/v1/artifacts/WINDOWS_OKTA_VERIFY/download?releaseChannel=GA&packageType=EXE" \ -o <filename>.exe
Perform the following steps to obtain the macOS parameters:
- Navigate to the Okta Admin Console.
- Go to the Downloads section.
- Right-click the macOS installer link.
- Choose Copy link address.
NOTE: While the macOS method is provided here for completeness, it is recommended to download the installer directly, as the version and revision parameters can only be obtained from the download link, necessitating a manual download each time an update is required.
