This repository has been archived by the owner. It is now read-only.
OWIN Middleware to validate access tokens from IdentityServer3
Clone or download
Latest commit 0ea6067 Apr 17, 2017
Permalink
Failed to load latest commit information.
source update version Apr 17, 2017
.gitattributes Copied ignores/attributes Jun 23, 2014
.gitignore updated ignore Mar 18, 2015
CONTRIBUTING.md update urls Mar 16, 2015
LICENSE Added license Sep 26, 2014
README.md name changes Apr 21, 2015
build.ps1 update nuget.exe Feb 3, 2016
default.ps1 update version Apr 17, 2017
mygetpush.cmd name changes Apr 21, 2015
nuget.config updated nuget config Mar 8, 2015
nugetpush.cmd push files Oct 28, 2014

README.md

IdentityServer3 - AccessTokenValidation

Dev build: Build status ![Gitter](https://badges.gitter.im/Join Chat.svg)

OWIN Middleware to validate access tokens from IdentityServer v3.

You can either validate the tokens locally (JWTs only) or use the IdentityServer's access token validation endpoint (JWTs and reference tokens).

app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions
    {
        Authority = "https://identity.identityserver.io"
    });

The middleware can also do the scope validation in one go.

app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions
    {
        Authority = "https://identity.identityserver.io",
        RequiredScopes = new[] { "api1", "api2" }
    });