identity-samples-dotnet
These are WSO2 Identity Server-related samples written using .NET technologies. Currently, the samples listed below are available in this repository.
- Pickup-Manager
This sample consists of an application written using WPF technologies to demonstrate the capabilities of the OIDC SDK in WSO2 Identity Server. The sample application can be configured with the WSO2 Identity Server and used to authenticate with the OIDC protocol.
Running the Sample
Samples in the repository:
- Pickup-Manager Sample - Application to demonstrate capabilities of OIDC SDK for WSO2 Identity Server.
- Pickup-Manager Sample Setup - Windows Setup application to install the Pickup-Manager Sample.
Follow the instructions given below to run each sample.
OIDC SDK Sample (Login_APP)
Build the sample project to get the necessary .exe files. The files will be located in the bin/debug
or bin/release
folder
depending on the build profile.
Prerequisites
- Microsoft Windows 8 (Or server equivalent) or greater.
- .NET Framework Standard 4.5.x or greater.
How to run
- Double click the
Login_App.exe
file to run the application. - On running the application, the user is prompted to configure the necessary properties related to the Identity Server OIDC application. Follow Configuring OAuth2 OpenID connect single sign on to configure the OIDC application in WSO2 Identity Server.
- Follow the on-screen guidance to run the application.
OIDC Sample Setup Project (Pickup-Manager-Setup)
This will install the sample application with the necessary dependencies. To install the application,
- Double click the
setup.exe
file. - Follow the on-screen instructions.
After the installation is complete, follow the instructions in the How to run section of the OIDC SDK Sample (Login_APP) to run the application.
How to build the Solution
Follow the instructions given below to build the entire solution or each project. Since this sample depends on its corresponding SDK, it is required to download the necessary DLLs or build each project before building the sample. SDKs are located in this github location.
Prerequisites
- Microsoft Windows 8 (Or server equivalent) or greater.
- .NET Framework Standard 4.5.x or greater.
- Visual Studio 2017 Community or greater.
- Visual Studio Installer Projects addon to build the Setup Project.
- OIDC SDK project.
Building the OIDC SDK Sample Project
After satisfying all the prerequisites, follow the instructions given below to build the project.
- Build the OIDC SDK project. Follow the instructions given in the respective project on how to build it. Alternatively, you can download the necessary DLL file.
- Update the references in the Sample Project to point to the SDK DLL. If you have built the OIDC SDK project, you can ignore this step.
- Build the project.
Building the OIDC Sample Setup Project (Pickup-Manager-Setup)
After satisftying all the prerequisites, follow the instructions given below to build the project.
- Build the OIDC SDK Sample project.
- Build the project.