Skip to content

githubisao/SimpleIdentityServer

 
 

Repository files navigation

Simple identity server

Badges
DNXCORE50 Build Status
DNX451 Build status
Description Badges
Code coverage Coverage Status
MyGet thabart MyGet Build Status
Documentation Documentation Status
Chat Gitter
Docker stars Stars on docker hub
Docker pulls Downloads from docker hub

openid_certified

Certified OpenID Connect implementation.

Deployed on azure : Deploy to Azure

Live demo: http://simpleidentityserver.azurewebsites.net

Overview

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.

Quick start

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);

Contacts

About

OpenId + Uma + Oauth 2.0 providers + SCIM2.0 + RFID reader

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C# 90.4%
  • JavaScript 6.3%
  • C 1.3%
  • HTML 1.0%
  • C++ 0.4%
  • CSS 0.4%
  • Other 0.2%