Search Results :

×

ASP.NET OAuth Single Sign-On Setup Guides

Choose your OAuth Provider to configure Single Sign-On (SSO)

Not able to find your IdP? Contact us at aspnetsupport@xecurify.com and we will help you setup ASP.NET SSO with your IdP in no time.

Couldn't find your IdP?

Reach out to us at aspnetsupport@xecurify.com and we will help you setup ASP.NET OAuth SSO with your identity provider (IdP) in no time.

ASP.NET OAuth SSO - Onelogin as IDP logo

Onelogin

ASP.NET OAuth SSO - Ping Federate as IDP logo

Ping Federate

ASP.NET OAuth SSO - AWS Cognito as IDP logo

AWS Cognito

ASP.NET OAuth SSO - Keycloak as IDP logo

Keycloak

ASP.NET OAuth SSO - WordPress as IDP logo

WordPress

ASP.NET OAuth SSO - WHMCS as IDP logo

WHMCS

ASP.NET OAuth SSO - Shopify as IDP logo

Shopify

ASP.NET OAuth SSO - IdentityServer3 as IDP logo

IdentityServer3

ASP.NET OAuth SSO - IdentityServer4 as IDP logo

IdentityServer4

ASP.NET OAuth SSO - Swiss RX Login as IDP logo

Swiss RX Login

ASP.NET OAuth SSO - SingPass Login as IDP logo

SingPass

ASP.NET OAuth SSO - Freja eID as IDP logo

Freja eID

ASP.NET OAuth SSO - Feide as IDP logo

Feide

ASP.NET OAuth SSO - Swiss ID as IDP logo

Swiss ID

ASP.NET OAuth SSO - ID Austria as IDP logo

ID Austria

ASP.NET OAuth SSO - UAE Pass as IDP logo

UAE Pass

Steps to Configure the ASP.NET OAuth 2.0 Module

Step 1: Download and extract package.

  • Download miniOrange ASP.NET OAuth 2.0 Module.
  • For Setting up the connector, extract the asp-net-oauth-sso-module.zip, you will find a DLL file miniorange-oauth-sso.dll, a configuration file oauthsso.config and a integration.md file which contain the steps for adding the module into your application.

Step 2: Add the connector in your application.

  • Add miniorange-oauth-sso.dll in bin folder (where your other DLL files exists) for your application.
  • Register miniorangeoauthsso module in your application according to the provided steps in the integration.md file.
  • Add the provided configuration file oauthsso.config in the root directory for your application.
  • After integration open browser and browse the connector dashboard with URL below:
    https://<your-application-base-url>/?ssoaction=config
  • If it pop up the registration page or login page, you have successfully added the miniOrange oauth sso connector for your application.
  • ASP.NET OAuth Single Sign-On (SSO) - Register
  • Register or Login for configuring the connector.

Step 3: Configure miniOrange ASP.NET OAuth Client

  • Configure your OAuth/JWT Server. While configuring your OAuth/JWT server provide the Redirect/Callback URL from the OAuth/JWT Client.
  • You will get the Client ID, Client Secret, Authorize Endpoint, Access Token Endpoint, Get User Info Endpoint from your OAuth/JWT Server. You need to verify the supported scope with the OAuth/JWT Server.
  • ASP.NET OAuth Single Sign-On (SSO) - ASP.NET OAuth Config
  • Fill all the required details and click on Save Configuration.

Step 4: Test Configuration

  • After saving configuration, click on the Test Configuration button to verify if you have configured correctly.
  • On successful configuration, you will get Attributes Name and Attribute Values on Test Configuration window. The below screenshot shows a successful result.
  • ASP.NET OAuth Single Sign-On (SSO) - Test Configuration

Step 5: Attribute Mapping

  • Map Attribute Names provided by your OAuth/JWT Server with your ASP.NET application Attributes given under Attribute Mapping Section and click on Save Attribute Mapping.
  • ASP.NET OAuth Single Sign-On (SSO) - Attribute Mapping
  • Note: All the mapped attributes will be stored in the session so that you can access them in your application.

Step 6: Integration Code

  • You can find the integration code in Integration Code tab in the connector. Just copy-paste that code snippet wherever you want to access the user attributes.
  • ASP.NET OAuth Single Sign-On (SSO) - Integration Code

Step 7: Add following link in your application for Single Sign-On (SSO)

  • Use the following URL as a link in your application from where you want to perform SSO:
    http://base-url/?ssoaction=login
  • For example you can use it as:
    <a href="http://base-url/?ssoaction=login”>Log in</a>"

Additional Resources:

Need Help?

Not able to find your identity provider? Mail us on aspnetsupport@xecurify.com and we'll help you set up SSO with your IDP and for quick guidance (via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support