Skip to content

abc-software/Abc.IdentityServer.JwtIntrospection

Repository files navigation

Abc.IdentityServer.JwtIntrospection

Sample for implementing JWT Response for OAuth Token Introspection support for IdentityServer4 and Duende IdentityServer with .NET core.

Configuring IdentityServer

This repo contains an extension method for the IdentityServer builder object to register all the necessary services in DI, e.g.:

services.AddIdentityServerWithJwtIntrospection()
    .AddSigningCredential(cert)
    .AddInMemoryIdentityResources(Config.GetIdentityResources())
    .AddInMemoryApiResources(Config.GetApiResources())
    .AddInMemoryClients(Config.GetClients())
    .AddTestUsers(TestUsers.Users)
    .AddInMemoryRelyingParties(Config.GetRelyingParties());
services.AddIdentityServerWithJwtIntrospection()
    .AddSigningCredential(cert)
    .AddInMemoryIdentityResources(Config.GetIdentityResources())
    .AddInMemoryApiResources(Config.GetApiResources())
    .AddInMemoryClients(Config.GetClients())
    .AddTestUsers(TestUsers.Users)
    .AddInMemoryRelyingParties(Config.GetRelyingParties());

About

JWT introspection for Duende IdentityServer and IdentityServer4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages