{"id":19101360,"url":"https://github.com/IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection","last_synced_at":"2025-04-18T18:32:20.067Z","repository":{"id":3174724,"uuid":"48623168","full_name":"IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection","owner":"IdentityModel","description":"ASP.NET Core authentication handler for OAuth 2.0 token introspection","archived":false,"fork":false,"pushed_at":"2024-09-09T06:04:21.000Z","size":302,"stargazers_count":148,"open_issues_count":17,"forks_count":69,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-12T00:56:55.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IdentityModel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-26T20:47:25.000Z","updated_at":"2025-02-05T13:28:21.000Z","dependencies_parsed_at":"2024-09-09T07:37:58.336Z","dependency_job_id":null,"html_url":"https://github.com/IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection","commit_stats":{"total_commits":222,"total_committers":21,"mean_commits":"10.571428571428571","dds":0.3918918918918919,"last_synced_commit":"d2050a76a8d40298fe55d43e4345fdcc5a53e13e"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IdentityModel","download_url":"https://codeload.github.com/IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249320268,"owners_count":21250584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:53:15.861Z","updated_at":"2025-04-18T18:32:20.061Z","avatar_url":"https://github.com/IdentityModel.png","language":"C#","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# IdentityModel.AspNetCore.OAuth2Introspection\n\nASP.NET Core authentication handler for OAuth 2.0 token introspection\n\nhttps://tools.ietf.org/html/rfc7662\n\n## Configuration\n\n```csharp\nservices.AddAuthentication(OAuth2IntrospectionDefaults.AuthenticationScheme)\n    .AddOAuth2Introspection(options =\u003e\n    {\n        options.Authority = \"https://base_address_of_token_service\";\n\n        options.ClientId = \"client_id_for_introspection_endpoint\";\n        options.ClientSecret = \"client_secret_for_introspection_endpoint\";\n    });\n```\n\n## Configuring Backchannel HTTP Client\n\nIf configuration, such as using a proxy, is required for the HTTP client calling the Authority then it can be done by registering a named HTTP Client as follows\n\n```csharp\nservices.AddHttpClient(OAuth2IntrospectionDefaults.BackChannelHttpClientName) \n    .AddHttpMessageHandler(() =\u003e \n    {\n        //Configure client/handler for the back channel HTTP Client here\n        return new HttpClientHandler\n            {\n                UseProxy = true,\n                Proxy = new WebProxy(WebProxyUri, true)\n            };\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIdentityModel%2FIdentityModel.AspNetCore.OAuth2Introspection/lists"}