-
-
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: update clients from files through the CLI (#3874)
- Loading branch information
Showing
8 changed files
with
141 additions
and
25 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
24 changes: 24 additions & 0 deletions
24
cmd/.snapshots/TestUpdateClient-case=updates_from_file-file=from_disk.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,24 @@ | ||
{ | ||
"client_name": "updated through file from disk", | ||
"client_secret_expires_at": 0, | ||
"client_uri": "", | ||
"grant_types": [ | ||
"implicit" | ||
], | ||
"jwks": {}, | ||
"logo_uri": "", | ||
"metadata": {}, | ||
"owner": "", | ||
"policy_uri": "", | ||
"request_object_signing_alg": "RS256", | ||
"response_types": [ | ||
"code" | ||
], | ||
"scope": "offline_access offline openid", | ||
"skip_consent": false, | ||
"skip_logout_consent": false, | ||
"subject_type": "public", | ||
"token_endpoint_auth_method": "client_secret_basic", | ||
"tos_uri": "", | ||
"userinfo_signed_response_alg": "none" | ||
} |
24 changes: 24 additions & 0 deletions
24
cmd/.snapshots/TestUpdateClient-case=updates_from_file-file=stdin.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,24 @@ | ||
{ | ||
"client_name": "updated through file stdin", | ||
"client_secret_expires_at": 0, | ||
"client_uri": "", | ||
"grant_types": [ | ||
"implicit" | ||
], | ||
"jwks": {}, | ||
"logo_uri": "", | ||
"metadata": {}, | ||
"owner": "", | ||
"policy_uri": "", | ||
"request_object_signing_alg": "RS256", | ||
"response_types": [ | ||
"code" | ||
], | ||
"scope": "offline_access offline openid", | ||
"skip_consent": false, | ||
"skip_logout_consent": false, | ||
"subject_type": "public", | ||
"token_endpoint_auth_method": "client_secret_basic", | ||
"tos_uri": "", | ||
"userinfo_signed_response_alg": "none" | ||
} |
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