How To: Sign into your Windows Desktop application with The Identity Hub

Summary

In this topic you will learn the neccesary steps to allow users to login to your Windows Desktop application using The Identity Hub - {tenant}.

Contents

  • Objectives
  • Summary of Steps
  • Step 1 - Create and configure an App for your Windows Desktop application.
  • Step 2 - Download the SDK
  • Step 3 - Code Examples

Objectives

  • Sign into your Windows Desktop application with The Identity Hub - {tenant}

Summary of Steps

  • Step 1 - Create and configure an App for your Windows Desktop application.
  • Step 2 - Download the SDK
  • Step 3 - Code Examples

The Windows Desktop SDK supports Windows Forms and WPF applications.

Step 1 - Create and configure an App for your Windows Desktop application

In this step you will create and configure an App for your Windows Desktop application.

For more information about Apps see How To: What is an App?.

  • Navigate to the Apps Admin Page and click on New.

  • Provide the following information
    • Name: The name of the app. Give a name to identify your Mobile App

    • Description: The description of the app.

  • Open the OAuth parameters section by clicking on the arrow.

  • Provide the following information
    • Token life time: The time a token remains valid after it is created in hours and minutes.

    • Redirection Uri: Leave this blank.

  • Click Save. You will navigate to the detail page of the just created App.


Step 2 - Download the SDK

The following SDK's are available for download.

Technology Link Help
Windows Desktop (Windows Forms and WPF) NuGet: Install-Package TheIdentityHub.WindowsDesktop Windows Desktop SDK

Step 3 - Code Samples

See Windows Desktop SDK for a code sample.