pieroviano
ebe69efccb
Add OAuth 2.0 dynamic client registration and management to the server stack
- Registration endpoint (SetRegistrationEndpointUris, EnableDynamicClientRegistration) implementing
RFC 7591 registration and RFC 7592 read/update/delete via ?client_id=, with ASP.NET Core/OWIN
JSON extraction, 201/204 status codes, bearer errors and pass-through mode.
- Initial access tokens (dedicated scopes or anonymous registration), registration access tokens
stored as reference token entries and rotated on read/update.
- Client metadata validation, software statement validation with trusted keys, mapping to
application descriptors (permissions, requirements, logout settings, stored metadata).
- Discovery registration_endpoint and configuration validation.
2 months ago
pieroviano
ee4ae5f143
Add back-channel/front-channel logout, session management and session admin endpoints to the server stack
2 months ago
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
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
Kévin Chalet
d663eced46
Reference Meziantou.Analyzer globally and address the existing warnings
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
4cc756c565
Normalize the code style of null-coalescing and ternary operators
4 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
2fc7908f93
Attach event identifiers to all the log messages
2 years ago
Kévin Chalet
1beb7ab4c9
Use Uri.TryCreate() to build the base and request URIs used by OpenIddict
2 years 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
38e84b862d
Update OpenIddictParameter to offer ImmutableArray<string> conversions instead of string[] and clone JsonNode objects to guarantee immutability
2 years ago
Kévin Chalet
e39c635631
Decorate the claim extensions with [OverloadResolutionPriority] and collection expressions for ImmutableArray<T>
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
42d6369910
Implement Pushed Authorization Requests (PAR) support and revamp the request caching feature
2 years ago
Kévin Chalet
d4c05e2e23
Rename the device, cryptography, logout and verification endpoints and the associated events/event handlers
2 years ago
Kévin Chalet
0bd3028bce
Update the OpenIddict client system integration package to support POST callback requests
2 years ago
Kévin Chalet
26fdb68773
Bump the .NET SDK to 8.0.200 and stop using collection expressions with ImmutableArray<T>
3 years ago
Kévin Chalet
a5d2d867ba
Use List<T> instead of Enumerable.Any() in the samples
3 years ago
Kévin Chalet
e08bdbed04
Tweak the order of the response processing event handlers to be invoked later in the pipeline
3 years ago
Kévin Chalet
02cca0a42e
Update the entire code base to use collection expressions
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
e8c0e4b05c
Add an option allowing to suppress JSON response indentation in the ASP.NET Core and OWIN server hosts
3 years ago
Kévin Chalet
3bdfc20895
Catch exceptions thrown during the retrieval of the remote server configuration and generalize the use of OpenIddictHelpers.IsFatal()
4 years ago
Kévin Chalet
ec1b122282
Allow cooperative cancellation of metadata retrieval and HTTP requests
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
73e6efe4ac
Introduce a new DisableTransportSecurityRequirement() option in the OpenIddict client ASP.NET Core and OWIN hosts
4 years ago
Kévin Chalet
282acefcf6
Use System.Index in additional places
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
43e75cd49f
Update the ProcessChallenge/SignIn/SignOut events to expose the host authentication properties
4 years ago
Kévin Chalet
a1f84d38d0
Add integration tests projects for the client and validation stacks and use a high order for the AttachCustom*Parameters handlers
4 years ago
Kévin Chalet
ddc5c9a69c
Revamp the claims extensions and update the client and server hosts to preserve the authentication properties using a special private claim
5 years ago
Kévin Chalet
120a29fe47
Revamp the challenge responses handling logic
5 years ago
Kévin Chalet
7222d95025
React to the removal of the !! operator in C# 11
5 years ago
Kévin Chalet
ec32cfa6e5
Add System.Text.Json.Nodes support and revamp the OpenIddictParameter primitive
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
66745bc4ae
Update CodeAnalysis.ruleset to ignore CA2254 information messages
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
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
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
5f154b9f05
Refactor custom parameters handling during challenge/sign-in/sign-out
5 years ago
Kévin Chalet
1ea6eeb6e7
Tweak the log levels used by OpenIddict
6 years ago