Connectis .NET Core

We do not provide a .NET Core adapter. However, that is not needed because our broker supports OpenId Connect out of the box and .NET Core uses OpenId Connect as one its build in protocols:

As such, using Connectis Broker inside your own .NET Core application is very easy to set up and provides total control to the implementer. Our support team can help you in setting up the connection details, which afterwards can be used to set up the connection as in the example below:

services.AddAuthentication()
.AddOpenIdConnect(OpenIdConnectDefaults.AuthenticationScheme, options => {
options.SignInScheme = IdentityConstants.ExternalScheme;
options.ClientId = "Your replying party id";
options.ClientSecret = "Client Secret provided by our broker";
options.Authority = "Broker OpenId Url";
options.ResponseType = "code";
options.GetClaimsFromUserInfoEndpoint = true;
options.Scope.Clear();
options.Scope.Add("openid");
options.ClaimActions.MapJsonKey("connectis:email","Email","string");
options.ClaimActions.MapJsonKey("connectis:loa","acr","string");
//The next section is only for extra parameters to be send if required
options.Events = new OpenIdConnectEvents
{
OnRedirectToIdentityProvider = context =>
{
context.ProtocolMessage.SetParameter("parameter name", "parameter value");
return Task.FromResult(0);
}
};
});