Search Results :
×ASP.NET Core OAuth Single Sign-On (SSO) middleware gives the ability to enable OAuth Single Sign-On for your ASP.NET Core applications. Using Single Sign-On you can use only one password to access your ASP.NET Core application and services. Our module is compatible with all the OAuth compliant identity providers. Here we will go through a step-by-step guide to configure Single Sign-On (SSO) between ASP.NET Core and miniOrange as OAuth Provider.
using oauthssomiddleware
using Newtonsoft.Json;
builder.Services.AddSession();
builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie();
app.UseCookiePolicy();
app.UseSession();
app.UseAuthentication();
app.UseminiOrangeOAuthSSOMiddleware();
https://<your-application-base-url>/?ssoaction=config
You have successfully configured miniOrange as OAuth Provider for achieving miniOrange login into your WordPress Site.
Scope: | openid email profile |
Authorize Endpoint: | https://<miniOrange-domain>.xecurify.com/moas/idp/openidsso |
Token Endpoint: | https://<miniOrange-domain>.xecurify.com/moas/rest/oauth/token |
User Info Endpoint: | https://<miniOrange-domain>.xecurify.com/moas/rest/oauth/getuserinfo |
string name="";
string claimtype="";
string claimvalue="";
if(User.Identity.IsAuthenticated) {
name= User.Identity.Name;
foreach( var claim in User.Claims) {
claimtype = claim.Type;
claimvalue = claim.Value;
}
}
https://base-url/?ssoaction=login
<a href=”https://base-url/?ssoaction=login”>Log in</a>
You have successfully configured ASP.NET OAuth Middleware using WildApricot as OAuth Server.
You can even configure the ASP.NET OAuth Single Sign-On (SSO) module with any identity provider such as ADFS, Azure AD, Bitium, Centrify, G Suite, JBoss Keycloak, Okta, OneLogin, Salesforce, AWS Cognito, OpenAM, Oracle, PingFederate, PingOne, RSA SecureID, Shibboleth-2, Shibboleth-3, SimpleSAML, WSO2 or even with your own custom identity provider.
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.
Need Help? We are right here!
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com