Certified OpenID Connect implementation.
Live demo: http://simpleidentityserver.azurewebsites.net
SimpleIdentityServer is an implementation of the OpenId authentication mechanism. It allows any application to implement Single Sign-On (identity token) and controls access to protected resources such as REST.API.
The Framework can easily be installed on any ASP.NET 5 project. In your solution add the following snippet code in the 'Configure' procedure :
app.UseSimpleIdentityServer(new HostingOptions
{
IsDeveloperModeEnabled = false,
IsMicrosoftAuthenticationEnabled = true,
MicrosoftClientId = Configuration["Microsoft:ClientId"],
MicrosoftClientSecret = Configuration["Microsoft:ClientSecret"],
IsFacebookAuthenticationEnabled = true,
FacebookClientId = Configuration["Facebook:ClientId"],
FacebookClientSecret = Configuration["Facebook:ClientSecret"]
}, _swaggerOptions);Add the dependencies like this :
services.AddSimpleIdentityServer(new DataSourceOptions {
DataSourceType = DataSourceTypes.InMemory,
ConnectionString = connectionString,
Clients = Clients.Get(),
JsonWebKeys = JsonWebKeys.Get(),
ResourceOwners = ResourceOwners.Get(),
Scopes = Scopes.Get(),
Translations = Translations.Get()
}, _swaggerOptions);- You can follow me on twitter #SimpleIdentityServer

