OAuth login flow

This sample shows how to sign in to XProtect as a user managed by an external identity provider, for example Okta.

The login flow consists of a number of steps:

The sample asks for an XProtect VMS server URL, and defaults to http://localhost if none is entered.

The sample then proceeds through all above steps, and writes information to the console.

OAuth login flow

For information about login, please refer to Introduction to MIP Environments and Login

Prerequisites

You must have configured an external identity provider for the XProtect VMS. For information about settings up external indentity provider, please refer to Configure External IDP

The sample demonstrates

Using

Environment

Visual Studio C# project