Skip to content

Exacq

Support Portal CMS

Additional Okta (and Entra ID) Configuration Required for exacqVision Mobile OAuth Authentication for some Environments

Summary

When configuring OAuth authentication for exacqVision using Okta or Microsoft Entra ID, Enterprise Manager and the desktop client may authenticate successfully while exacqVision Mobile fails with a 400 error. Typical error text seen in the mobile application includes:

Identity Provider: Unknown
invalid_request

This behavior occurs even when the OAuth configuration appears to match current Exacq documentation. The root cause is additional identity‑provider configuration that is required specifically for native mobile OAuth flows but is not fully outlined in existing documentation.
This KB documents the missing configuration items, why they are required, and when they are most likely to apply.

Why This Happens

exacqVision uses three different OAuth client models:
-Enterprise Manager uses a confidential web application.
-exacqVision Client (desktop) uses a native application with a loopback redirect.
-exacqVision Mobile uses a native application with a custom URI scheme.

Desktop OAuth commonly works because loopback redirects are treated leniently by most identity providers. Mobile OAuth uses a custom URI scheme and a non‑browser initiation flow, which triggers additional identity‑provider validation.
These additional validations are often enforced when:
-Enterprise Manager is accessed through a reverse proxy or load balancer
-HTTPS is terminated externally
-Wildcard TLS certificates are used
-Remote Access Code is used in exacqVision Mobile

Symptoms

-Enterprise Manager OAuth login works
-exacqVision Client OAuth login works
-exacqVision Mobile returns HTTP 400
-Mobile error text includes “Identity Provider: Unknown” or “invalid_request”
-No OAuth errors appear in Enterprise Manager logs
-Token preview or test tokens in Okta / Entra ID succeed

These symptoms indicate the failure is occurring at the identity provider’s authorization endpoint before the request reaches Enterprise Manager.

Okta Configuration Requirements when this scenario occurs:

  1. Mobile Redirect URI Must Be Under Sign‑In Redirect URIs
    Common mistake:
    exacqvisionmobile://callback/ is placed only under Sign‑out redirect URIs

Required configuration for the Native Okta application:
Sign‑in redirect URIs must include:
http://localhost:55911/callback
exacqvisionmobile://callback/

Reason:
Okta validates redirect URIs during sign‑in only. Sign‑out redirect URIs are ignored during the authorization flow. If the mobile URI is missing from sign‑in, Okta rejects the request with invalid_request.

  1. Initiate Login URI Must Be Set for the Native App
    Native applications do not automatically allow login initiation.
    Required configuration (Native App, General → Login section):
    Initiate login URI:
    https://

Example:
https://em.example.com

Reason:
exacqVision Mobile initiates OAuth outside of a traditional browser session. Okta requires an explicit login initiation URL for native mobile flows. Desktop client loopback redirects do not require this setting, which is why desktop works without it.

  1. Trusted Origin Required for Mobile OAuth
    Required configuration in Okta:
    Security → API → Trusted Origins
    Add a Trusted Origin for the public Enterprise Manager URL:
    Origin URL: https://
    Types enabled:
    CORS
    Redirect

Reason:
Mobile OAuth requests originate from a non‑browser context. Okta enforces origin validation for these flows, especially behind reverse proxies. Without a Trusted Origin, Okta rejects the authorize request before Enterprise Manager receives it.

  1. Native App Grant Type Confirmation
    The following grant types must be configured on the Native App:
    -Authorization Code
    -Refresh Token

The following must not be enabled on the Native App:
-Client Credentials

Notes:

-PKCE will be enforced automatically (often shown as enabled and greyed out)
-These settings do not conflict with exacqVision Client
-Client Credentials is intended only for the Enterprise Manager Web App

Why This Commonly Appears Behind Reverse Proxies
When Enterprise Manager is accessed through NGINX, load balancers, or SSL termination:
-The IdP sees requests originating from the public hostname
-Native mobile flows are validated more strictly
-Identity providers require explicit origin and login permissions that are not required for browser or desktop flows

This explains why:
-Enterprise Manager login works
-Desktop client works
-Mobile fails until these IdP settings are added

Microsoft Entra ID (Azure AD) Notes
These same concepts apply to Entra ID, with different terminology:

-Native App corresponds to a Public Client
-Redirect URIs must be registered under Mobile and desktop applications
-exacqvisionmobile://callback/ must be explicitly added
-The Application/Home page URI should match the public Enterprise Manager URL
-Reverse proxy deployments increase the likelihood that missing App URI or redirect configuration will cause mobile OAuth failure

Missing these settings in Entra ID can result in the same invalid_request behavior.

Resolution Checklist

For mobile OAuth with Okta or Entra ID, confirm all of the following:

-Native application is used for desktop and mobile
-exacqvisionmobile://callback/ exists under Sign‑in redirect URIs
-Initiate login URI is set to the public Enterprise Manager URL
-Trusted Origin exists for the EM URL with CORS and Redirect enabled
-Authorization Code and Refresh Token grants enabled
-Client Credentials disabled on the Native App
-Enterprise Manager URL uses HTTPS and matches IdP configuration

Conclusion

exacqVision Mobile OAuth requires additional identity‑provider configuration beyond Enterprise Manager and desktop client OAuth. These requirements are enforced by Okta and Entra ID for native mobile applications, particularly when custom URI schemes and reverse proxies are involved.

If a customer reports that EM and desktop OAuth work but mobile returns 400 invalid_request errors, review the items in this KB before escalating to engineering.

Published April 2, 2026By garethhowell
Categorized as Knowledge Support, Support, exacqVision Mobile, Categories, Products, Uncategorized Tagged auth, 23764, Mobile, 400, Authentication, idp, Level2, authentication fails, Redirect, Entra, Okta, OAuth, log in failed, log-in

Post navigation

Previous post

MAC OS Axis Dewarper

Next post

Axis Dewarper Not showing for the F9114 and F9114R-Mk II

Recent Posts

  • SelfTest Report ALL- Ignored unsupported
  • Turing Camera Motion Detection Delayed
  • Importer Environment Variable – Overriding Default Values for Linux Enterprise Manager Servers
  • Connecting an NVR to more than one Enterprise Manager server
  • Difference Between TCP, TCP Listening, HTTP, and UDP Serial Profile Protocols in exacqVision

Archives

  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • September 2020
  • June 2020
  • May 2020
  • March 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • February 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009

Categories

  • Software Downloads
  • exacqVision Client Windows
  • Exacq Legacy Camera Support
  • FAQs
  • Software Categories
  • exacqVision Client Windows msi x64
  • Archive Sync
  • Solutions
  • Software Categories
  • exacqVision Client MacOS arm64
  • Transacq Installers
  • Announcements
  • Software Categories
  • exacqVision Enterprise Windows
  • VideoGuard Installers
  • Latest Announcements
  • Software Categories
  • exacqVision Enterprise Linux
  • evLPR – Hikvision
  • Notifications
  • Software Categories
  • Installation Software
  • Software Landing Page
  • Software Categories
  • exacqVision Webservice Linux
  • Software Categories
  • exacqVision Server Windows
  • exacqVision Webservice Windows
  • 64-bit Hybrid Capture Card Installers
  • exacqVision Server Linux
  • exacqVision Webservice Windows x64
  • exacqVision Webservice M-Series
  • exacqVision Server Windows x64
  • exacqVision Webservice Linux x64
  • exacqVision Server M-Series
  • exacqVision Server Linux x64
  • Lenel
  • exacqVision Client M-Series
  • Sales Materials
  • exacqVision Client Linux x64
  • DSX
  • exacqVision Server Edge
  • Case Studies
  • exacqVision Client Linux
  • S2
  • Software Categories
  • Sell Sheets
  • exacqVision Client Windows msi
  • AMAG-G4S
  • exacqVision Server Edge
  • Presentations
  • exacqVision Client Windows x64
  • evSentry
  • What's New?
  • Storage Calculator
  • exacqVision Client MacOS
  • MASterMind
  • Product Lifecycle
  • Technical Advisory Bulletins
  • Cloudvue
  • Cloudvue Cameras
  • Exclude from Global Search
  • Video Library
  • User Guides
  • Configuration
  • Plugin
  • ACTiPI
  • Knowledge Support
  • Release Notes
  • Cloudvue Gateway
  • Log Level
  • Verbose
  • Documentation
  • exacqVision EDGE
  • Highlighted
  • Quick Start Guides
  • Demo
  • ArchivePI
  • exacqVision Enterprise
  • Cloudvue Access Control
  • Warning
  • Support
  • Data Sheets
  • Installation
  • ArecontPI
  • Highlighted Video Guides
  • exacqVision Client
  • Error
  • Other
  • Integrations
  • Marketing
  • exacqVision Server
  • Critical
  • AxisPI
  • exacqVision Mobile
  • Youtube Video Library
  • Categories
  • exacqVision Webservice
  • Products
  • exacqVision Hardware
  • Uncategorized
  • exacqVision Integrations
  • Logs
  • Core
  • DahuaPI
  • EventPI
  • ExportPI
  • EvtLogPI
  • GenericCameraPI
  • HikVisionPI
  • Illustra3PI
  • IpCamDetectPI
  • IQeyePI
  • LogPI
  • NotifyPI
  • OnvifnvcPI
  • Other
  • PanasonicPI
  • PosPI
  • PsfPI
  • SamsungPI
  • StreamPI
  • StretchPI
  • SysMgmtPI
  • tDVRPI
  • UpdatePI
  • VivotekPI
  • XdvPI

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Exacq
Proudly powered by WordPress.