Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 90899c4

Browse files
authored
Rebrand IdentityModel to Duende in README
Updated README to reflect rebranding to Duende.AspNetCore.Authentication.OAuth2Introspection and provided new package reference.
1 parent b771a5a commit 90899c4

File tree

1 file changed

+4
-33
lines changed

1 file changed

+4
-33
lines changed

README.md

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,6 @@
11
# IdentityModel.AspNetCore.OAuth2Introspection
22

3-
ASP.NET Core authentication handler for OAuth 2.0 token introspection
4-
5-
https://tools.ietf.org/html/rfc7662
6-
7-
## Configuration
8-
9-
```csharp
10-
services.AddAuthentication(OAuth2IntrospectionDefaults.AuthenticationScheme)
11-
.AddOAuth2Introspection(options =>
12-
{
13-
options.Authority = "https://base_address_of_token_service";
14-
15-
options.ClientId = "client_id_for_introspection_endpoint";
16-
options.ClientSecret = "client_secret_for_introspection_endpoint";
17-
});
18-
```
19-
20-
## Configuring Backchannel HTTP Client
21-
22-
If 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
23-
24-
```csharp
25-
services.AddHttpClient(OAuth2IntrospectionDefaults.BackChannelHttpClientName)
26-
.AddHttpMessageHandler(() =>
27-
{
28-
//Configure client/handler for the back channel HTTP Client here
29-
return new HttpClientHandler
30-
{
31-
UseProxy = true,
32-
Proxy = new WebProxy(WebProxyUri, true)
33-
};
34-
}
35-
```
3+
> [!IMPORTANT]
4+
> `IdentityModel.AspNetCore.OAuth2Introspection` has been rebranded to `Duende.AspNetCore.Authentication.OAuth2Introspection` and henceforth will be managed
5+
> in our [FOSS repository](https://github.com/DuendeSoftware/foss) under the same Apache2 licence.
6+
> - Please update your nuget package references to the [new package](https://www.nuget.org/packages/Duende.AspNetCore.Authentication.OAuth2Introspection).

0 commit comments

Comments
 (0)