Skip to content

Commit

Permalink
fix(jans-cli-tui): don't include client secret in summary (#7161)
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
  • Loading branch information
devrimyatar authored and yurem committed Dec 21, 2023
1 parent 0f1dc1d commit ee0e5af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jans-cli-tui/cli_tui/plugins/010_auth_server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ def do_save(path):
with open(path, "w") as w:
client_data = self.clients_container.all_data[self.clients_container.selectes]
for key in client_data:
if key in ('clientSecret',):
continue
val = client_data[key]
if key == 'scopes':
val = [get_scope_by_inum(scope).get('id') for scope in val]
Expand Down

0 comments on commit ee0e5af

Please sign in to comment.