OWIN Middleware to validate access tokens from IdentityServer3
C# PowerShell Other
Latest commit f7be705 Nov 23, 2016 @leastprivilege leastprivilege Merge branch 'dev'
Permalink
Failed to load latest commit information.
source update version Nov 23, 2016
.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 Nov 23, 2016
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

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