Skip to content

Commit cc8cfcc

Browse files
committed
feat: promote rpMetadataChoices to stable
1 parent 8b2f06d commit cc8cfcc

4 files changed

Lines changed: 42 additions & 49 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ _Note that not all features are enabled by default, check the configuration sect
4242
- [FAPI 2.0 Message Signing (`FAPI 2.0`)][fapi2ms]
4343
- [JWT Secured Authorization Response Mode for OAuth 2.0 (`JARM`)][jarm]
4444
- [OIDC Client Initiated Backchannel Authentication Flow (`CIBA`)][ciba]
45+
- [OIDC Relying Party Metadata Choices 1.0][rp-metadata-choices]
4546

4647
Supported Access Token formats:
4748

@@ -51,7 +52,6 @@ Supported Access Token formats:
5152
The following specifications and drafts are implemented as experimental features:
5253

5354
- [Financial-grade API: Client Initiated Backchannel Authentication Profile (`FAPI-CIBA`) - Implementers Draft 01][fapi-ciba]
54-
- [OIDC Relying Party Metadata Choices 1.0 - Implementers Draft 01][rp-metadata-choices]
5555
- [OAuth 2.0 Attestation-Based Client Authentication - Draft 06][attestation-client-auth]
5656
- [OAuth Client ID Metadata Document (`CIMD`) - Draft 01][cimd]
5757

@@ -168,7 +168,7 @@ actions and i.e. emit metrics that react to specific triggers. See the list of a
168168
[fapi2sp]: https://openid.net/specs/fapi-security-profile-2_0-final.html
169169
[fapi2ms]: https://openid.net/specs/fapi-message-signing-2_0-final.html
170170
[Security Policy]: https://github.com/panva/node-oidc-provider/security/policy
171-
[rp-metadata-choices]: https://openid.net/specs/openid-connect-rp-metadata-choices-1_0-ID1.html
171+
[rp-metadata-choices]: https://openid.net/specs/openid-connect-rp-metadata-choices-1_0-final.html
172172
[rfc8414]: https://www.rfc-editor.org/rfc/rfc8414.html
173173
[attestation-client-auth]: https://www.ietf.org/archive/id/draft-ietf-oauth-attestation-based-client-auth-06.html
174174
[cimd]: https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-01.html

docs/README.md

Lines changed: 37 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -474,13 +474,13 @@ location / {
474474
- [requestObjects](#featuresrequestobjects) - OIDC Core 1.0 and RFC9101 - Passing a Request Object by Value (JAR)
475475
- [revocation](#featuresrevocation) - RFC7009 - OAuth 2.0 Token Revocation
476476
- [rpInitiatedLogout](#featuresrpinitiatedlogout) - OIDC RP-Initiated Logout 1.0
477+
- [rpMetadataChoices](#featuresrpmetadatachoices) - OIDC Relying Party Metadata Choices 1.0
477478
- [userinfo](#featuresuserinfo) - OIDC Core 1.0 - UserInfo Endpoint
478479
- Experimental features:
479480
- [attestClientAuth](#featuresattestclientauth) - draft-ietf-oauth-attestation-based-client-auth-06 - OAuth 2.0 Attestation-Based Client Authentication
480481
- [clientIdMetadataDocument](#featuresclientidmetadatadocument) - `draft-ietf-oauth-client-id-metadata-document-01` - OAuth Client ID Metadata Document (CIMD)
481482
- [externalSigningSupport](#featuresexternalsigningsupport) - External Signing Support
482483
- [richAuthorizationRequests](#featuresrichauthorizationrequests) - RFC9396 - OAuth 2.0 Rich Authorization Requests
483-
- [rpMetadataChoices](#featuresrpmetadatachoices) - OIDC Relying Party Metadata Choices 1.0 - Implementers Draft 01
484484
- [webMessageResponseMode](#featureswebmessageresponsemode) - draft-sakimura-oauth-wmrm-01 - OAuth 2.0 Web Message Response Mode
485485
- [findAccount ❗](#findaccount) - Account Loading and Claims Resolution
486486
- [interactions ❗](#interactions) - End-User Interaction Policy
@@ -2058,6 +2058,42 @@ async function postLogoutSuccessSource(ctx) {
20582058
20592059
---
20602060
2061+
### features.rpMetadataChoices
2062+
2063+
[OIDC Relying Party Metadata Choices 1.0](https://openid.net/specs/openid-connect-rp-metadata-choices-1_0-final.html)
2064+
2065+
Specifies whether Relying Party Metadata Choices capabilities shall be enabled. When enabled, the authorization server shall support the following multi-valued input parameters metadata from the Relying Party Metadata Choices draft, provided that their underlying feature is also enabled:
2066+
2067+
- subject_types_supported
2068+
- id_token_signing_alg_values_supported
2069+
- id_token_encryption_alg_values_supported
2070+
- id_token_encryption_enc_values_supported
2071+
- userinfo_signing_alg_values_supported
2072+
- userinfo_encryption_alg_values_supported
2073+
- userinfo_encryption_enc_values_supported
2074+
- request_object_signing_alg_values_supported
2075+
- request_object_encryption_alg_values_supported
2076+
- request_object_encryption_enc_values_supported
2077+
- token_endpoint_auth_methods_supported
2078+
- token_endpoint_auth_signing_alg_values_supported
2079+
- introspection_signing_alg_values_supported
2080+
- introspection_encryption_alg_values_supported
2081+
- introspection_encryption_enc_values_supported
2082+
- authorization_signing_alg_values_supported
2083+
- authorization_encryption_alg_values_supported
2084+
- authorization_encryption_enc_values_supported
2085+
- backchannel_authentication_request_signing_alg_values_supported
2086+
2087+
2088+
_**default value**_:
2089+
```js
2090+
{
2091+
enabled: false
2092+
}
2093+
```
2094+
2095+
---
2096+
20612097
### features.userinfo
20622098
20632099
[OIDC Core 1.0](https://openid.net/specs/openid-connect-core-1_0-errata2.html#UserInfo) - UserInfo Endpoint
@@ -2452,46 +2488,6 @@ const configuration = {
24522488
24532489
---
24542490
2455-
### features.rpMetadataChoices
2456-
2457-
[OIDC Relying Party Metadata Choices 1.0 - Implementers Draft 01](https://openid.net/specs/openid-connect-rp-metadata-choices-1_0-ID1.html)
2458-
2459-
> [!NOTE]
2460-
> This is an experimental feature.
2461-
2462-
Specifies whether Relying Party Metadata Choices capabilities shall be enabled. When enabled, the authorization server shall support the following multi-valued input parameters metadata from the Relying Party Metadata Choices draft, provided that their underlying feature is also enabled:
2463-
2464-
- subject_types_supported
2465-
- id_token_signing_alg_values_supported
2466-
- id_token_encryption_alg_values_supported
2467-
- id_token_encryption_enc_values_supported
2468-
- userinfo_signing_alg_values_supported
2469-
- userinfo_encryption_alg_values_supported
2470-
- userinfo_encryption_enc_values_supported
2471-
- request_object_signing_alg_values_supported
2472-
- request_object_encryption_alg_values_supported
2473-
- request_object_encryption_enc_values_supported
2474-
- token_endpoint_auth_methods_supported
2475-
- token_endpoint_auth_signing_alg_values_supported
2476-
- introspection_signing_alg_values_supported
2477-
- introspection_encryption_alg_values_supported
2478-
- introspection_encryption_enc_values_supported
2479-
- authorization_signing_alg_values_supported
2480-
- authorization_encryption_alg_values_supported
2481-
- authorization_encryption_enc_values_supported
2482-
- backchannel_authentication_request_signing_alg_values_supported
2483-
2484-
2485-
_**default value**_:
2486-
```js
2487-
{
2488-
ack: undefined,
2489-
enabled: false
2490-
}
2491-
```
2492-
2493-
---
2494-
24952491
### features.webMessageResponseMode
24962492
24972493
[draft-sakimura-oauth-wmrm-01](https://tools.ietf.org/html/draft-sakimura-oauth-wmrm-01) - OAuth 2.0 Web Message Response Mode

lib/helpers/defaults.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ function makeDefaults() {
23192319
/*
23202320
* features.rpMetadataChoices
23212321
*
2322-
* title: [OIDC Relying Party Metadata Choices 1.0 - Implementers Draft 01](https://openid.net/specs/openid-connect-rp-metadata-choices-1_0-ID1.html)
2322+
* title: [OIDC Relying Party Metadata Choices 1.0](https://openid.net/specs/openid-connect-rp-metadata-choices-1_0-final.html)
23232323
*
23242324
* description: Specifies whether Relying Party Metadata Choices capabilities shall be enabled.
23252325
* When enabled, the authorization server shall support the following multi-valued input
@@ -2346,7 +2346,7 @@ function makeDefaults() {
23462346
* - authorization_encryption_enc_values_supported
23472347
* - backchannel_authentication_request_signing_alg_values_supported
23482348
*/
2349-
rpMetadataChoices: { enabled: false, ack: undefined },
2349+
rpMetadataChoices: { enabled: false },
23502350

23512351
/*
23522352
* features.revocation

lib/helpers/features.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const STABLE = new Set([
2020
'resourceIndicators',
2121
'revocation',
2222
'rpInitiatedLogout',
23+
'rpMetadataChoices',
2324
'userinfo',
2425
]);
2526

@@ -36,10 +37,6 @@ export const EXPERIMENTS = new Map(Object.entries({
3637
name: 'External Signing Key Support',
3738
version: ['experimental-01'],
3839
},
39-
rpMetadataChoices: {
40-
name: 'OpenID Connect Relying Party Metadata Choices',
41-
version: ['draft-02'],
42-
},
4340
attestClientAuth: {
4441
name: 'OAuth 2.0 Attestation-Based Client Authentication',
4542
version: 'draft-06',

0 commit comments

Comments
 (0)