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
f1ff44d808
Add JWT introspection responses (RFC 9701) to the server stack
- EnableJsonWebTokenIntrospectionResponses(): signed token-introspection+jwt (iss, aud, iat, token_introspection)
- Optional RSA-OAEP/A256CBC-HS512 encryption with the client's JWKS enc key (non-degraded mode)
- ASP.NET Core/OWIN: Accept header detection and application/token-introspection+jwt responses
- Discovery: introspection_signing/encryption alg metadata
- Integration tests
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
Kévin Chalet
9780dd2e6b
Enable additional Meziantou.Analyzer analyzers
4 months ago
Kévin Chalet
d663eced46
Reference Meziantou.Analyzer globally and address the existing warnings
4 months ago
Kévin Chalet
ee3bfb76c0
Normalize collection empty checks in the Entity Framework/Entity Framework Core/MongoDB stores
4 months ago
Kévin Chalet
8dbf493469
Add a new OpenIddictMessage constructor accepting non-nullable immutable arrays
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
36424f84b3
Improve the WWW-Authenticate parsing logic
1 year 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
ef4b0f3417
Add explicit System.Net.Http usings
3 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
7ca9be1428
Reference PolySharp and replace Substring() calls by the range syntax
4 years ago
Kévin Chalet
ac5e3dd62b
Update the System.Net.Http integrations to support sending empty parameters in GET and POST requests
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
6f9c559682
Update the .NET SDK and bump all dependencies
5 years ago
Kévin Chalet
3ff021a3e4
Revamp HTTP response extraction to support WWW-Authenticate and enforce Content-Type validation
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
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
b19fdffea4
React to nullable annotations changes in .NET 5.0 and update OpenIddictParameter.ToString() to use the invariant culture
6 years ago
Kévin Chalet
bff6ed027b
Add .NET 5.0 TFMs and bump the .NET SDK to 5.0.100
6 years ago
Johann
ff0958ea67
Enable nullable reference types support in the unit/integration tests projects
6 years ago
Kévin Chalet
1e87e917a6
Use static OpenIddict.Abstractions.OpenIddictConstants where appropriate
6 years ago
Kévin Chalet
0b629b3dbd
Replace JsonSerializer.Serialize() by Utf8JsonWriter and JsonSerializer.Deserialize() by JsonDocument
6 years ago
Kévin Chalet
3841f32f17
Update the entire codebase to use is null/is not null
6 years ago
Kévin Chalet
c8215868cf
Rename the FunctionalTests namespace suffix to IntegrationTests
6 years ago
Kévin Chalet
8feeb8698d
Update the entire codebase to use IStringLocalizer/ResourceManager
6 years ago
Kévin Chalet
39a75284cc
Enable FxCop code analysis
7 years ago
Kévin Chalet
8021c15328
Use the generic host builder on .NET Core 3.1
7 years ago
Kévin Chalet
2ac5b4b884
Update the validation OWIN integration to support active authentication and rework how errors are returned for API requests
7 years ago
Kévin Chalet
276a9b8a7d
Update OpenIddict.Validation.SystemNetHttp to use ReadAsStringAsync() and rework the samples
7 years ago
Kévin Chalet
5361c66be1
Add integration tests for the authorization endpoint
7 years ago