Skip to content

Commit

Permalink
feat: update sessionManagement feature draft version
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Aug 12, 2020
1 parent d54cc8f commit aa62927
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ The following draft specifications are implemented by oidc-provider.
- [OAuth 2.0 Pushed Authorization Requests - draft 03][par]
- [OAuth 2.0 Resource Indicators - draft 08][resource-indicators]
- [OAuth 2.0 Web Message Response Mode - individual draft 00][wmrm]
- [OpenID Connect Session Management 1.0 - draft 28][session-management]
- [OpenID Connect Back-Channel Logout 1.0 - draft 06][backchannel-logout]
- [OpenID Connect Front-Channel Logout 1.0 - draft 04][frontchannel-logout]
- [OpenID Connect Session Management 1.0 - draft 30][session-management]

Updates to draft specification versions are released as MINOR library versions,
if you utilize these specification implementations consider using the tilde `~` operator in your
Expand Down Expand Up @@ -146,7 +146,7 @@ See the list of available emitted [event names](/docs/events.md) and their descr
[discovery]: https://openid.net/specs/openid-connect-discovery-1_0.html
[oauth2-registration]: https://tools.ietf.org/html/rfc7591
[registration]: https://openid.net/specs/openid-connect-registration-1_0.html
[session-management]: https://openid.net/specs/openid-connect-session-1_0-28.html
[session-management]: https://openid.net/specs/openid-connect-session-1_0-30.html
[form-post]: https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html
[oauth2]: https://tools.ietf.org/html/rfc6749
[oauth2-bearer]: https://tools.ietf.org/html/rfc6750
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ _**default value**_:

### features.sessionManagement

[Session Management 1.0 - draft 28](https://openid.net/specs/openid-connect-session-1_0-28.html)
[Session Management 1.0 - draft 30](https://openid.net/specs/openid-connect-session-1_0-30.html)

Enables Session Management features.
Note: Browsers blocking access to cookies from a third party context hinder the reliability of this standard.
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ function getDefaults() {
/*
* features.sessionManagement
*
* title: [Session Management 1.0 - draft 28](https://openid.net/specs/openid-connect-session-1_0-28.html)
* title: [Session Management 1.0 - draft 30](https://openid.net/specs/openid-connect-session-1_0-30.html)
*
* description: Enables Session Management features.
*
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const DRAFTS = new Map(Object.entries({
version: [2, 3, 4, 5, 6, 7, 'draft-07', 'draft-08'],
},
sessionManagement: {
name: 'OpenID Connect Session Management 1.0 - draft 28',
name: 'OpenID Connect Session Management 1.0 - draft 30',
type: 'OIDF AB/Connect Working Group draft',
url: 'https://openid.net/specs/openid-connect-session-1_0-28.html',
version: [28, 'draft-28'],
url: 'https://openid.net/specs/openid-connect-session-1_0-30.html',
version: [28, 'draft-28', 'draft-29', 'draft-30'],
},
webMessageResponseMode: {
name: 'OAuth 2.0 Web Message Response Mode - draft 00',
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ export interface Configuration {
sessionManagement?: {
enabled?: boolean,
keepHeaders?: boolean,
ack?: 28 | 'draft-28',
ack?: 28 | 'draft-28' | 'draft-29' | 'draft-30',
scriptNonce?: (ctx: KoaContextWithOIDC) => string
},

Expand Down

0 comments on commit aa62927

Please sign in to comment.