pieroviano
0dae3a9dbf
Add DPoP (RFC 9449) support to the server stack
- Validate DPoP proofs at the token, PAR and userinfo endpoints (typ, alg, public jwk, htm/htu, iat, ath)
- Replay protection via redeemed token entries when token storage is enabled
- Optional server nonces (use_dpop_nonce + DPoP-Nonce header)
- Bind access tokens and public-client refresh tokens with cnf.jkt; token_type=DPoP
- dpop_jkt at authorization/PAR, enforced at code redemption
- Global RequireDPoP option, per-client ft:dpop requirement, discovery metadata
- DPoP scheme and WWW-Authenticate algs in ASP.NET Core and OWIN hosts
2 months ago
pieroviano
4d19d539e4
Add automatic signing and encryption key management to the server stack
- New Key entity: IOpenIddictKeyStore/IOpenIddictKeyManager, EF Core, EF6 and MongoDB stores.
- OpenIddictServerKeyRing creates, announces, rotates and retires RSA keys; credentials are resolved per transaction.
- IOpenIddictServerKeyProtector, with an ASP.NET Core Data Protection implementation.
- Local validation follows key rotation; opt-in Quartz key pruning.
2 months ago
pieroviano
bbd52cbf99
Add OpenID Connect Client-Initiated Backchannel Authentication (poll mode) to the server stack
- New backchannel authentication endpoint (SetBackchannelAuthenticationEndpointUris,
AllowClientInitiatedBackchannelAuthenticationFlow, ASP.NET Core/OWIN pass-through).
- auth_req_id issued as an inactive reference token, redeemed with the
urn:openid:params:grant-type:ciba grant (authorization_pending, access_denied, expired_token).
- OpenIddictServerService to list, approve and reject pending requests.
- Generic polling interval (interval parameter + slow_down) for the device code and CIBA grants.
- Discovery metadata and configuration validation.
2 months ago
pieroviano
d5c9bff76b
Add JWT-secured authorization request (RFC 9101) support to the server and client stacks
Server: opt-in request object support (EnableRequestObjectSupport) for the authorization
and pushed authorization endpoints, request objects validated using the client JSON Web Key
Set (optionally encrypted), RFC 9101 merge semantics, global and per-client requirements
(RequireSignedRequestObjects, ft:jar) and discovery metadata.
Client: request objects sent when required by the server or enabled in the registration
(UseSignedRequestObjects), signed with the registration's asymmetric key.
2 months ago
Kévin Chalet
aff2a2a7bd
Re-introduce the default user code display format and fix the user code generation logic to use the specified charset
4 months ago
Kévin Chalet
6623bc451f
Decorate the Configure() builder APIs with [EditorBrowsable(EditorBrowsableState.Advanced)]
4 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
8b847421d6
Replace the SUPPORTS_* constants by the built-in target/platform constants
7 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
JarieTimmer
58b6dfb720
Use the correct exception message when the degraded mode is enabled without a custom PAR validation event handler being added
9 months ago
Kévin Chalet
a89b5c66aa
Simplify some of the client authentication policy checks
9 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
5c1cda0ac5
Implement native mTLS client authentication support in the server stack
10 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
8c94cb7c13
Implement OAuth 2.0 Token Exchange support
1 year ago
Kévin Chalet
b33dad15f3
Implement new audience and presenter validation logic as part of the ValidateToken event
1 year 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
42d6369910
Implement Pushed Authorization Requests (PAR) support and revamp the request caching feature
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
b32eb8c0a2
Make user codes fully configurable and remove token length assumptions
3 years ago
Kévin Chalet
b94674eb7f
Fix the credentials sorting algorithm to correctly sort X509SecurityKey instances
3 years ago
Kévin Chalet
746f38432c
Make the supported subject types configurable via OpenIddictServerOptions.SubjectTypes
3 years ago
Kévin Chalet
00fa3f3494
Allow configuring the supported client authentication methods and use invalid_client for client assertion errors
3 years ago
Kévin Chalet
a941660a41
Move the client authentication logic to the ProcessAuthentication event
3 years ago
Kévin Chalet
a1a0815cff
Add XML documentation to the dispatcher/factory/handler filter classes
4 years ago
Kévin Chalet
773594231e
Prevent enabling the device authorization flow when token storage is disabled (unless the degraded mode is used)
4 years ago
Kévin Chalet
22e28fc36c
Add XML documentation to the dispatcher/factory/handler filter classes
4 years ago
Kévin Chalet
bf839d8923
Prevent enabling the device authorization flow when token storage is disabled (unless the degraded mode is used)
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
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
20005d63cc
Prevent adding multiple client registrations using the same issuer
4 years ago
Kévin Chalet
7222d95025
React to the removal of the !! operator in C# 11
5 years ago
Kévin Chalet
823e05fc50
Remove unwanted empty lines and fix typos
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
deee5e5b92
Update the code base to use implicit global usings
5 years ago
Kévin Chalet
148a987a23
Update the code base to use file-scoped namespaces
5 years ago
Kévin Chalet
8004a82c1d
Revamp the token authentication/generation mechanism and introduce new events
5 years ago
Kévin Chalet
6cf1f72844
Add log messages to inform users when application claims are not included in introspection responses
6 years ago
Kévin Chalet
22ff1fc02e
Block device requests sent by clients that were not granted the device code grant permission and add integration tests for the device and verification endpoints
6 years ago