Skip to content

Commit

Permalink
fix:jans-cli Error on Get-Clients (ref: #2976)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelwahabAdam committed Nov 14, 2022
1 parent 6a04adf commit 3a30e6e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jans-cli-tui/cli_tui/plugins/010_oxauth/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,16 @@ async def coroutine():

data =[]

file1 = open("hopa.log", "w")
file1.write(str(response.status_code)+'\n')
file1.write(str(response.json()))
file1.close()

for d in result.get('entries', []):
data.append(
[
d['inum'],
d.get('clientName', {}).get('values', {}).get('', ''),
d.get('clientName', ''),
','.join(d.get('grantTypes', [])),
d.get('subjectType', '')
]
Expand Down

0 comments on commit 3a30e6e

Please sign in to comment.