-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add skip_logout_consent option to clients (#3705)
Adds a special field which disables the logout consent screen when performing OIDC logout.
- Loading branch information
Showing
51 changed files
with
844 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...ents-case=10-description=setting_skip_logout_consent_succeeds_for_admin_registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"client_name": "", | ||
"client_secret": "2SKZkBf2P5g4toAXXnCrr~_sDM", | ||
"redirect_uris": [ | ||
"http://localhost:3000/cb" | ||
], | ||
"grant_types": null, | ||
"response_types": null, | ||
"scope": "offline_access offline openid", | ||
"audience": [], | ||
"owner": "", | ||
"policy_uri": "", | ||
"allowed_cors_origins": [], | ||
"tos_uri": "", | ||
"client_uri": "", | ||
"logo_uri": "", | ||
"contacts": null, | ||
"client_secret_expires_at": 0, | ||
"subject_type": "public", | ||
"jwks": {}, | ||
"token_endpoint_auth_method": "client_secret_basic", | ||
"userinfo_signed_response_alg": "none", | ||
"metadata": {}, | ||
"skip_consent": false, | ||
"skip_logout_consent": true, | ||
"authorization_code_grant_access_token_lifespan": null, | ||
"authorization_code_grant_id_token_lifespan": null, | ||
"authorization_code_grant_refresh_token_lifespan": null, | ||
"client_credentials_grant_access_token_lifespan": null, | ||
"implicit_grant_access_token_lifespan": null, | ||
"implicit_grant_id_token_lifespan": null, | ||
"jwt_bearer_grant_access_token_lifespan": null, | ||
"refresh_token_grant_id_token_lifespan": null, | ||
"refresh_token_grant_access_token_lifespan": null, | ||
"refresh_token_grant_refresh_token_lifespan": null | ||
} |
4 changes: 4 additions & 0 deletions
4
...ler-common-case=create_clients-case=11-description=basic_dynamic_client_registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"error": "The request was malformed or contained invalid parameters", | ||
"error_description": "It is not allowed to choose your own OAuth2 Client secret." | ||
} |
36 changes: 36 additions & 0 deletions
36
...apshots/TestHandler-common-case=create_clients-case=12-description=empty_ID_succeeds.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"client_name": "", | ||
"client_secret": "averylongsecret", | ||
"redirect_uris": [ | ||
"http://localhost:3000/cb" | ||
], | ||
"grant_types": null, | ||
"response_types": null, | ||
"scope": "offline_access offline openid", | ||
"audience": [], | ||
"owner": "", | ||
"policy_uri": "", | ||
"allowed_cors_origins": [], | ||
"tos_uri": "", | ||
"client_uri": "", | ||
"logo_uri": "", | ||
"contacts": null, | ||
"client_secret_expires_at": 0, | ||
"subject_type": "public", | ||
"jwks": {}, | ||
"token_endpoint_auth_method": "client_secret_basic", | ||
"userinfo_signed_response_alg": "none", | ||
"metadata": {}, | ||
"skip_consent": false, | ||
"skip_logout_consent": null, | ||
"authorization_code_grant_access_token_lifespan": null, | ||
"authorization_code_grant_id_token_lifespan": null, | ||
"authorization_code_grant_refresh_token_lifespan": null, | ||
"client_credentials_grant_access_token_lifespan": null, | ||
"implicit_grant_access_token_lifespan": null, | ||
"implicit_grant_id_token_lifespan": null, | ||
"jwt_bearer_grant_access_token_lifespan": null, | ||
"refresh_token_grant_id_token_lifespan": null, | ||
"refresh_token_grant_access_token_lifespan": null, | ||
"refresh_token_grant_refresh_token_lifespan": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...eate_clients-case=8-description=setting_skip_consent_succeeds_for_admin_registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"client_name": "", | ||
"client_secret": "2SKZkBf2P5g4toAXXnCrr~_sDM", | ||
"redirect_uris": [ | ||
"http://localhost:3000/cb" | ||
], | ||
"grant_types": null, | ||
"response_types": null, | ||
"scope": "offline_access offline openid", | ||
"audience": [], | ||
"owner": "", | ||
"policy_uri": "", | ||
"allowed_cors_origins": [], | ||
"tos_uri": "", | ||
"client_uri": "", | ||
"logo_uri": "", | ||
"contacts": null, | ||
"client_secret_expires_at": 0, | ||
"subject_type": "public", | ||
"jwks": {}, | ||
"token_endpoint_auth_method": "client_secret_basic", | ||
"userinfo_signed_response_alg": "none", | ||
"metadata": {}, | ||
"skip_consent": true, | ||
"skip_logout_consent": null, | ||
"authorization_code_grant_access_token_lifespan": null, | ||
"authorization_code_grant_id_token_lifespan": null, | ||
"authorization_code_grant_refresh_token_lifespan": null, | ||
"client_credentials_grant_access_token_lifespan": null, | ||
"implicit_grant_access_token_lifespan": null, | ||
"implicit_grant_id_token_lifespan": null, | ||
"jwt_bearer_grant_access_token_lifespan": null, | ||
"refresh_token_grant_id_token_lifespan": null, | ||
"refresh_token_grant_access_token_lifespan": null, | ||
"refresh_token_grant_refresh_token_lifespan": null | ||
} |
4 changes: 4 additions & 0 deletions
4
...lients-case=9-description=setting_skip_logout_consent_fails_for_dynamic_registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"error": "invalid_request", | ||
"error_description": "'skip_logout_consent' cannot be set for dynamic client registration" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.