<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

Download the Okta Verify Installer Programmatically

Multi-Factor Authentication
Okta Identity Engine

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 -L flag and specify an output file with -o by 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:

    1. Navigate to the Okta Admin Console.
    2. Go to the Downloads section.
    3. Right-click the macOS installer link.
    4. 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.

      Related References

      Loading
      Okta Support - Download the Okta Verify Installer Programmatically