pieroviano
2833482b72
Add RP-side back-channel/front-channel logout and session management to the client stack
- Back-channel logout endpoint: logout_token validation per OIDC Back-Channel Logout 1.0 section 2.6 (signature, iss, aud, iat/exp, typ, events, sub/sid, nonce, jti replay via IDistributedCache)
- Front-channel logout endpoint: iss/sid validation against the client registrations
- IOpenIddictClientSessionStore extension point and AuthenticateWithLogoutTokenAsync service API
- Registration metadata (backchannel/frontchannel logout URIs and session requirements)
- Discovery extraction of backchannel/frontchannel logout support and check_session_iframe
- session_state resolution from authorization responses
2 months ago
pieroviano
776c7ca175
Fix stale dynamic registration cache reuse
- Reuse a cached dynamic registration only if issuer, provider name and client id are unchanged
- Check the cache before creating configuration managers/DPoP keys
- Purge expired cache entries on insert
- Tests for changed and unchanged cached registrations; plan updated
2 months ago
pieroviano
ad43bd3a93
Resolve client registrations dynamically through registration providers
- Add IOpenIddictClientRegistrationProvider (static options provider registered by default, AddRegistrationProvider)
- Extract registration initialization/validation from OpenIddictClientConfiguration
- OpenIddictClientService resolves static and dynamic registrations; dynamic ones are validated (declared redirect URIs, no static id collision) and cached by id (DynamicRegistrationCacheLifetime)
- Handlers default to the unique registration through the service
- ASP.NET Core: decorate IAuthenticationSchemeProvider to resolve dynamic provider names as forwarded schemes
- OWIN: resolve dynamic provider names for forwarded challenges, sign-outs and authentication
- WebIntegration: make ConfigureProvider/ValidateProvider browsable for dynamic registrations
2 months ago
pieroviano
dbc144f51a
Add DPoP (RFC 9449) support to the client stack
- EnableDPoPTokenBinding(); per-registration DPoPSigningCredentials (ephemeral P-256 by default)
- Negotiate DPoP from dpop_signing_alg_values_supported; send proofs to token, PAR and userinfo (DPoP scheme + ath)
- Retry once on use_dpop_nonce and cache server nonces per authority
- OpenIddictClientService.CreateDPoPProofAsync/GetDPoPJsonWebKeyThumbprint for resource calls
- System.Net.Http handlers attach DPoP header and extract DPoP-Nonce
2 months ago
Kévin Chalet
e9d5a1c64f
Update the client/server/validation stacks to always use the CancellationToken attached to the context
4 months ago
Kévin Chalet
d41aeb28fc
Reference Microsoft.Bcl.Memory on .NET Framework and use Base64Url instead of Base64UrlEncoder
5 months ago
Kévin Chalet
8f349edbff
Implement ML-DSA support in the client, core, server and validation stacks
5 months ago
Kévin Chalet
83f0bb5c8f
Move the options validation logic to IValidateOptions<TOptions> implementations
6 months ago
Kévin Chalet
4636bc6848
Stop supporting ASP.NET Core 2.3 and remove the .NET Framework 4.6.2/4.7.2, .NET Standard 2.0/2.1 and UAP TFMs
7 months ago
Kévin Chalet
7b9fd7677f
Revamp the client authentication method negotiation logic and support mTLS token binding in the client, server and validation stacks
9 months ago
Kévin Chalet
9797f86194
Replace PolySharp by the Polyfill source package and adopt ArgumentNullException.ThrowIfNull()/ArgumentException.ThrowIfNullOrEmpty()
11 months ago
Kévin Chalet
a0f39b4b5c
Polyfill ValueTask.CompletedTask and ValueTask<TResult>.CompletedTask
1 year ago
Kévin Chalet
5b56eddc0c
Remove all the store resolvers and mark all the assemblies as trimming/Native AOT-compatible
2 years ago
Kévin Chalet
b17b3fe235
Update the .NET Framework and .NET Standard TFMs to target ASP.NET Core/Entity Framework Core 2.3 and .NET Extensions 8.0
2 years ago
Kévin Chalet
9f613b1332
Implement a new client authentication method negotiation logic and introduce mTLS support in the client stack
2 years ago
Kévin Chalet
dbcd6d1ad7
Remove the members that were obsoleted in OpenIddict 5.x
2 years ago
Kévin Chalet
d4c05e2e23
Rename the device, cryptography, logout and verification endpoints and the associated events/event handlers
2 years ago
Jan Trejbal
2475ed3c1a
Use System.TimeProvider on .NET 8.0+
3 years ago
Kévin Chalet
fcffb83d8f
Remove Uri.IsWellFormedOriginalString()/Uri.IsWellFormedUriString()
3 years ago
Kévin Chalet
b94674eb7f
Fix the credentials sorting algorithm to correctly sort X509SecurityKey instances
3 years ago
Kévin Chalet
02cca0a42e
Update the entire code base to use collection expressions
3 years ago
Kévin Chalet
64ade94294
Support multiple registrations with the same issuer/provider name and introduce client record models
3 years ago
Kévin Chalet
233c76b08e
Update OpenIddictValidationServerIntegrationConfiguration to initialize OpenIddictValidationOptions.Issuer and add new SetClientUri/SetIssuer overloads
=
4 years ago
Kévin Chalet
6ed9eb25e1
Infer the redirection/post-logout redirection endpoint URIs from the redirect_uri/post_logout_redirect_uri configured in client registrations
4 years ago
Kévin Chalet
a1a0815cff
Add XML documentation to the dispatcher/factory/handler filter classes
4 years ago
Kévin Chalet
22e28fc36c
Add XML documentation to the dispatcher/factory/handler filter classes
4 years ago
Kévin Chalet
8c14d4e3e9
Replace references to "URL" by "URI" when resource identifiers are not required to be resource locators
4 years ago
Kévin Chalet
2a987bcebe
Support relative redirect_uri/post_logout_redirect_uri in the client stack and revisit how OpenIddict handles URIs
4 years ago
Kévin Chalet
1f2809c879
Add response_type=none support in the client stack and revamp the grant_type/response_type negotiation logic
4 years ago
Kévin Chalet
d7582544b8
Introduce Allow*Flow() methods in the client stack to control what grant types/response types/response modes/code challenge methods are enabled
4 years ago
Kévin Chalet
8717a068ad
Decorate advanced infrastructure types with [EditorBrowsable(EditorBrowsableState.Advanced)] or [EditorBrowsable(EditorBrowsableState.Never)]
4 years ago
Kévin Chalet
51c09bec8a
Mark most of the infrastructure types as sealed
4 years ago
Kévin Chalet
7ca9be1428
Reference PolySharp and replace Substring() calls by the range syntax
4 years ago
Kévin Chalet
6c963c80d0
Adjust nullable annotations
4 years ago
Kévin Chalet
8342dd20ce
Support resolving client registrations based on the provider name
4 years ago
Kévin Chalet
20005d63cc
Prevent adding multiple client registrations using the same issuer
4 years ago
Kévin Chalet
b943123a4c
Update the client stack to support the resource owner password credentials grant
4 years ago
Kévin Chalet
e1436f7f59
Add native support for private_key_jwt in the client
5 years ago
Kévin Chalet
7222d95025
React to the removal of the !! operator in C# 11
5 years ago
Kévin Chalet
255fc64caf
Fix incorrect error messages in the client stack and use ?? for null checks where appropriate
5 years ago
Kévin Chalet
62f3e6ff85
Bump the .NET SDK to 7.0.100-preview.2.22153.17 and modernize the code base
5 years ago
Kévin Chalet
a1215728db
Implement "iss" support in the server stack and update the token validation logic to support issuers that don't end with a trailing slash
5 years ago
Kévin Chalet
3bf51e1600
Introduce the first bits of the OpenIddict client
7 years ago