<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

Because there is no publicly available download for the Okta Verify installer, Administrators can instead 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
    
    
    
    

    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 has been provided here for completeness, it is recommended to download the installer directly, as the version and revision parameters can only be obtained directly through the download's link address, necessitating a manual download each time an update is required.

     

    • 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
    
    

    Related References

    Loading
    Download the Okta Verify Installer Programmatically