Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: jans cli to jans-cli-tui #3063

Merged
merged 33 commits into from
Nov 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0b557a3
refactor: remove jans-cli
moabu Nov 22, 2022
98c4dd3
fix: jans-cli no need to get properties each time
devrimyatar Nov 22, 2022
880ab6f
feat: jans-linux-setup tui installer
devrimyatar Nov 22, 2022
e9eaa98
fix: jans-linux-setup clean old cli user data
devrimyatar Nov 22, 2022
a2f17fa
fix: jans-linux-setup missing cli libraries
devrimyatar Nov 22, 2022
bcb9971
fix: jans-cli code clean OrderedDict
devrimyatar Nov 22, 2022
66da3fa
fix: jans-cli runtime plugins
devrimyatar Nov 22, 2022
c67ab39
fix: jans-cli don't decode if access_token_enc is empty
devrimyatar Nov 23, 2022
e2da3fd
fix: jans-cli edit property (ref: #3058)
devrimyatar Nov 23, 2022
0720215
fix: jans-cli screen hangs on scim save (ref: #3061)
devrimyatar Nov 23, 2022
a5e92ad
fix: jans-cli multiple device auth message on save creds (ref: #3059)
devrimyatar Nov 23, 2022
1f06d7c
fix:jans-cli remove unnecessary logs
AbdelwahabAdam Nov 24, 2022
03c25de
fix:jans-cli reviced all array type in properties (ref: #3062)
AbdelwahabAdam Nov 24, 2022
aaf6917
fix:jans-cli fix move backword in auth server column (ref: #\3073)
AbdelwahabAdam Nov 24, 2022
56d3bf4
fix: jans-cli delete if jca_client_secret manually added to config.ini
devrimyatar Nov 24, 2022
63e17c4
fix: jans-cli typo
devrimyatar Nov 24, 2022
2659fb0
fix: jans-cli config-api move to asyncio
devrimyatar Nov 25, 2022
16598f4
fix: jans-cli save admin-ui roles
devrimyatar Nov 25, 2022
e01e1b1
feat: jans-cli display progressing text on status bar
devrimyatar Nov 26, 2022
b7c07e1
feat: jans-cli progressing texts for user plugin
devrimyatar Nov 26, 2022
8213541
fix: jans-cli decode encrypted data if salt changed
devrimyatar Nov 28, 2022
b4b3c16
fix: jans-cli check existence of data when logout (ref: #3050)
devrimyatar Nov 28, 2022
b2fc898
fix:jans-cli getting window too small error in edit user (ref: #3041)
AbdelwahabAdam Nov 28, 2022
43d1d3f
Merge branch 'refactor-jans-cli' of https://github.com/JanssenProject…
AbdelwahabAdam Nov 28, 2022
57caf0e
fix:jans-cli remove un-used scrollbar (ref: #3070 #3041)
AbdelwahabAdam Nov 28, 2022
cafd0c2
feat: jans-cli add User-inum to request headers
devrimyatar Nov 28, 2022
752f141
fix: jans-cli check existence of inum in user info
devrimyatar Nov 28, 2022
54cb7d5
fix: jans-cli DocString (ref: #2572)
AbdelwahabAdam Nov 28, 2022
b381ee5
fix: jans-cli DocString (ref: #2572)
AbdelwahabAdam Nov 29, 2022
7caa495
fix: jans-cli DocString and removing unused imports (ref: #2572)
AbdelwahabAdam Nov 29, 2022
3469e03
fix:jans-cli Ask on delete of scripts conf. properties (ref: #3105)
AbdelwahabAdam Nov 29, 2022
449d954
fix: jans-cli Error on deleting Claims in scopes(ref: #3106)
AbdelwahabAdam Nov 29, 2022
f06753f
fix: jans-cli Error on deleting without verification of deletion (ref…
AbdelwahabAdam Nov 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: jans-cli add User-inum to request headers
  • Loading branch information
devrimyatar committed Nov 28, 2022
commit cafd0c251c76320481e38683b0b5d6853b32da85
3 changes: 3 additions & 0 deletions jans-cli-tui/cli_tui/cli/config_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ def get_request_header(self, headers={}, access_token=None):
if not access_token:
access_token = self.access_token

user = self.get_user_info()
headers['User-inum'] = user['inum']

ret_val = {'Authorization': 'Bearer {}'.format(access_token)}
ret_val.update(headers)
return ret_val
Expand Down