Skip to content

Commit

Permalink
feat: update frontchannelLogout feature draft version
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Aug 12, 2020
1 parent 9a9dd7e commit d54cc8f
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 Front-Channel Logout 1.0 - draft 02][frontchannel-logout]
- [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]

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 @@ -157,8 +157,8 @@ See the list of available emitted [event names](/docs/events.md) and their descr
[heroku-example]: https://op.panva.cz/.well-known/openid-configuration
[heroku-example-client]: https://tranquil-reef-95185.herokuapp.com/client
[openid-client]: https://github.com/panva/node-openid-client
[frontchannel-logout]: https://openid.net/specs/openid-connect-frontchannel-1_0-02.html
[backchannel-logout]: https://openid.net/specs/openid-connect-backchannel-1_0-06.html
[frontchannel-logout]: https://openid.net/specs/openid-connect-frontchannel-1_0-04.html
[registration-management]: https://tools.ietf.org/html/rfc7592
[oauth-native-apps]: https://tools.ietf.org/html/rfc8252
[debug-link]: https://github.com/visionmedia/debug
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ _**default value**_:

### features.frontchannelLogout

[Front-Channel Logout 1.0 - draft 02](https://openid.net/specs/openid-connect-frontchannel-1_0-02.html)
[Front-Channel Logout 1.0 - draft 04](https://openid.net/specs/openid-connect-frontchannel-1_0-04.html)

Enables Front-Channel Logout 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 @@ -1058,7 +1058,7 @@ function getDefaults() {
/*
* features.frontchannelLogout
*
* title: [Front-Channel Logout 1.0 - draft 02](https://openid.net/specs/openid-connect-frontchannel-1_0-02.html)
* title: [Front-Channel Logout 1.0 - draft 04](https://openid.net/specs/openid-connect-frontchannel-1_0-04.html)
*
* description: Enables Front-Channel Logout 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 @@ -40,10 +40,10 @@ const DRAFTS = new Map(Object.entries({
version: ['draft-01'],
},
frontchannelLogout: {
name: 'OpenID Connect Front-Channel Logout 1.0 - draft 02',
name: 'OpenID Connect Front-Channel Logout 1.0 - draft 04',
type: 'OIDF AB/Connect Working Group draft',
url: 'https://openid.net/specs/openid-connect-frontchannel-1_0-02.html',
version: [2, 'draft-02'],
url: 'https://openid.net/specs/openid-connect-frontchannel-1_0-04.html',
version: [2, 'draft-02', 'draft-03', 'draft-04'],
},
jwtIntrospection: {
name: 'JWT Response for OAuth Token Introspection - draft 09',
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ export interface Configuration {

frontchannelLogout?: {
enabled?: boolean;
ack?: 2 | 'draft-02';
ack?: 2 | 'draft-02' | 'draft-03' | 'draft-04';
logoutPendingSource?: (ctx: KoaContextWithOIDC, frames: string[], postLogoutRedirectUri?: string) => CanBePromise<void | undefined>;
};
};
Expand Down

0 comments on commit d54cc8f

Please sign in to comment.