Community quickstarts & samples

These samples are not maintained by the IdentityServer organization. The IdentityServer organization happily links to community samples, but can’t make any guarantees about the samples. Please contact the authors directly.

Co-hosting IdentityServer4 and a Web API

This sample shows how to host an API in the same host as the IdentityServer that is protecting the API.

https://github.com/brockallen/IdentityServerAndApi

IdentityServer4 samples for MongoDB

  • IdentityServer4-mongo: Similar to Quickstart EntityFramework configuration but using MongoDB for the configuration data.
  • IdentityServer4-mongo-AspIdentity: More elaborated sample based on uses ASP.NET Identity for identity management that uses using MongoDB for the configuration data

https://github.com/souzartn/IdentityServer4.Samples.Mongo

Exchanging external tokens from Facebook, Google and Twitter

  • Shows how to exchange an external authentication token to an identity server acesss token using an extension grant

https://github.com/waqaskhan540/IdentityServerExternalAuth

.NET Core and ASP.NET Core “Platform” scenario

  • Shows an interaction of trusted “internal” applications and “external” applications with .NET Core 2.0 and ASP.NET Core 2.0 applications

https://github.com/BenjaminAbt/Samples.AspNetCore-IdentityServer4

Securing a Node API with tokens from IdentityServer4 using JWKS

  • Shows how to secure a Node (Express) API using the JWKS endpoint and RS256 algorithm from IdentityServer4.
  • Provides an alternative to the NodeJsApi sample from IdentityServer samples using higher quality - production ready modules.

https://github.com/lyphtec/idsvr4-node-jwks