IdentityServer3 Samples
ASP.NET Core Hosting Sample
link
MVC Authentication walk-throughStep by step tutorial on how to use identity server to provide authentication services to an MVC application and a Web API. See here for instructions.
link
ClientsSample clients and API for: client credentials, resource owner flow, code flow, form post, native and JavaScript implicit flow, WS-Federation and OpenID Connect Katana middleware.
link
Self-Host (minimal)Bare bones IdentityServer v3 host with all in-memory repositories.
link
Web-Host (minimal)Bare bones IdentityServer v3 hosted in IIS (Express)
link
Self-Host with WS-FederationBare bones IdentityServer v3 host with all in-memory repositories and the WS-Federation plugin.
link
EntityFrameworkSample which illustrates how to use the IdentityServer3.EntityFramework plugin which stores all of IdentityServer's configuration in an EF-capable database.
link
MembershipRebootSample which illustrates how to use the IdentityServer3.MembershipReboot plugin for identity management using MembershipReboot.
link
AspNetIdentitySample which illustrates how to use the IdentityServer3.AspNetIdentity plugin for identity management using ASP.NET Identity.
link
CustomUserServiceSample to illustrate how to customize the login workflow by implementing a custom user service.
link
EmbeddedAssetsViewServiceSample to illustrate how to add custom CSS and/or JavaScript to the default web pages IdentityServer displays to users.
link
CustomViewServiceSample to illustrate how to completely replace the views shown to the user for login, logout, logged out, consent and errors.
link
MVC ViewServiceSample to illustrate how to use MVC controllers and views to implement the ViewService
link
DependencyInjectionSample to illustrate how to register custom services with IdentityServer and how to accept as constructor parameters other IdentityServer dependencies and custom dependencies.
link
Custom Grant TypesSample to illustrate how add support for non-standard grant types at the token endpoint.
link
Custom Grant Types (more customization)Sample to illustrate how add support for non-standard grant types at the token endpoint. This sample also uses a custom user service and claims provider
Logging
Sample to illustrate how to use IdentityServer logging in custom services (e.g. a custom user service) as well as how to add a custom logging sink.