profet23 / IdentityModel.AspNetCore.OAuth2Introspection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IdentityModel.AspNetCore.OAuth2Introspection

ASP.NET Core 2 authentication handler for OAuth 2.0 token introspection

https://tools.ietf.org/html/rfc7662

Configuration

services.AddAuthentication(OAuth2IntrospectionDefaults.AuthenticationScheme)
    .AddOAuth2Introspection(options =>
    {
        options.Authority = "https://base_address_of_token_service";

        options.ClientId = "client_id_for_introspection_endpoint";
        options.ClientSecret = "client_secret_for_introspection_endpoint";
    });

About

License:Apache License 2.0


Languages

Language:C# 93.8%Language:PowerShell 4.2%Language:Shell 2.0%