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
This privacy statement applies to miniorange websites describing how we handle the personal information. When you visit any website, it may store or retrieve the information on your browser, mostly in the form of the cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not directly identify you, but it can give you a more personalized web experience. Click on the category headings to check how we handle the cookies. For the privacy statement of our solutions you can refer to the privacy policy.
Necessary cookies help make a website fully usable by enabling the basic functions like site navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any personal identifiable information. However, some parts of the website will not work properly without the cookies.
These cookies only collect aggregated information about the traffic of the website including - visitors, sources, page clicks and views, etc. This allows us to know more about our most and least popular pages along with users' interaction on the actionable elements and hence letting us improve the performance of our website as well as our services.