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

feat(jans-cli): device flow for authentication for the TUI #2129

Closed
moabu opened this issue Aug 15, 2022 · 1 comment
Closed

feat(jans-cli): device flow for authentication for the TUI #2129

moabu opened this issue Aug 15, 2022 · 1 comment
Assignees
Labels
comp-jans-cli-tui Component affected by issue or PR comp-jans-tui kind-feature Issue or PR is a new feature request priority-0 Causes full outage, breakage, or major function unavailability for everyone, without a workaround.
Milestone

Comments

@moabu
Copy link
Member

moabu commented Aug 15, 2022

Only users with the admin role should be allowed to use the TUI.

Here are the roles we defined in the Admin UI:

image

Here is the mapping to OAuth Scopes:

image

@moabu moabu added this to the 1.0.2 milestone Aug 15, 2022
@moabu moabu changed the title Device flow for authentication feat(jans-cli): device flow for authentication Aug 15, 2022
@mo-auto mo-auto added comp-jans-cli-tui Component affected by issue or PR kind-feature Issue or PR is a new feature request labels Aug 15, 2022
@moabu moabu modified the milestones: 1.0.2, 1.0.3 Aug 30, 2022
@nynymike nynymike changed the title feat(jans-cli): device flow for authentication feat(jans-cli): device flow for authentication for the TUI Oct 24, 2022
@AbdelwahabAdam AbdelwahabAdam added the priority-0 Causes full outage, breakage, or major function unavailability for everyone, without a workaround. label Oct 24, 2022
@devrimyatar
Copy link
Contributor

Implemented in commit 1177165
image

moabu pushed a commit that referenced this issue Nov 22, 2022
* fix:jans-cli remove unused imports

* fix:jans-cli remove white spaces and refactor keybinding names

* fix:jans-cli revert hopa changes

* fix:jans-cli try search uma-resources by client id

* fix:jans-cli scripts skelton - not finished (commented for now)

* feat:jans-cli uma-resources search and get -tie to client (pattern is missing)

* fix:jans-cli fix the focuse after wrong serach or less than 3 char

* feat:jans-cli add UMA dialog to view data or delete it

* fix:jans-cli clean and refactor

* fix:jans-cli fix the focuse after wrong serach or less than 3 char

* fix:jans-cli add parent

* fix:jans-cli remove white spaces and depuging lines

* fix:jans-cli add Scope (or Expression) in clients/UMA

* fix:jans-cli add umaAuthorizationPolicies insted of (Claims Gathering Script-RPT Mofification Script)

* fix:jans-cli uncomment self.get_data_width()

* feat:jans-cli add side navbar and main content for Person Authentication

* fix:jans-cli add multilang

* fix:jans-cli add search button in scopes/openid/claims

* fix:jans-cli add multilang support

* fix:jans-cli clean code and refactor

* fix:jans-cli add width to getTitledText

* fix:jans-cli add doc strings

* fix:jans-cli add buttons to the docs and some missing pages

* fix:jans-cli add new pages and enhance structure

* fix:jans-cli add images tp gallery and Home >> (URL images hosted on git> main repo)

* fix:jans-cli remove toc auto hide

* fix:jans-cli fix error in remove toc auto hide

* fix: jans-cli url-suffix

* fix:jans-cli fix get-uma-resources tie to client

* fix:jans-cli comment Client URI-Policy URI-Logo URI-Term of service URI

* fix:jans-cli depuging the dropdown setter

* fix:jans-cli fix Authn Method token endpoint

* fix:jans-cli test get-oauth-scopes pages

* fix:jans-cli implement Save, add, and delete for scopes

* fix:jans-cli add on_delete and implement Save, add, and delete for scopes

* feat:jans-cli scopes dont write repeated field twice

* fix:jans-cli comment all logger debug

* fix:jans-cli add showInConfigurationEndpoint checkbox saver

* fix:jans-cli add showInConfigurationEndpoint checkboxsave

* fix: jans-cli add scope page is dynamic according to scope type

* fix: jans-cli remove tmp file

* fix:jans-cli add title to EditScopeDialog

* fix:jans-cli add other tabs, save, search, deleted, and title

* fix:jans-cli remove debuging lines

* fix:jans-cli fix scopeType selection

* fix:jans-cli remove \n from scopeType

* fix:jans-cli fix typo

* fix: jans-cli \n to hide black spaces

* fix: jans-cli scope type fields

* feat: jans-cli pagination for scopes

* fix:jans-cli add pagination for clients and fix no-scopetype for scopes

* fix:jans-cli remove comments and white spaces

* fix:jans-cli remove the \n from wedgit titles

* fix:jans-cli fix scope-dialog white spaces

* fix:jans-cli fix scope-dialog white spaces - JansDialogWithNav- without navbar

* fix:jans-cli add condition without self.navbar

* fix:jans-cli remove a depug file

* fix:jans-cli uma-rescources search and delete

* fix:jans-cli fix the delete UMA-resource > clients dialog

* fix:jans-cli test delete UMA

* fix: jans-cli displayName of client uma resource

* fix: jans-cli headers' underline is optional in lists

* fix: jans-cli remove endline in list header

* fix:jans-cli add style-sheet to every thing

* fix:jans-cli add none to the on_enter

* fix:jans-cli add style-sheet to every thing

* fix:jans-cli add style for all plugins

* fix:jans-cli fix style error

* fix:jans-cli add style to style sheet

* fix:jans-cli add style to style sheet and fix issue of focus

* fix:jans-cli add all wui_componenets style

* fix:jans-cli add str to fix error of None in scopes name

* fix:jans-cli fix the pageup, pagedown error

* fix:jans-cli add last styling

* fix:jans-cli fix scopes and Expression values

* fix:jans-cli fix focus issue

* fix: jans-cli do not allow edit/add spontaneous scope

* fix: jans-cli uma scopes are not editable

* fix: jans-cli scopes tyep can't be changed to uma

* fix: jans-cli enable delation of scope claims

* fix: jans-cli refactor jans_vetrical_nav.py

* fix:jans-cli fix issue in pre_selection

* fix:jans-cli fix focus issue on last deletion >> try UMA-Res on clients dialog

* fix:jans-cli remove debuging lines

* fix:jans-cli fix Error in get_scopes when data=[]

* fix: jans-cli store userinfo and set creator-id for uma scope (ref: #2562)

* fix:jans-cli fix no data on JansVerticalNav close#2563

* fix:jans-cli fix no data on JansVerticalNav Close#2563

* fix:jans-cli fix no data on JansVerticalNav Close#2563

* fix:jans-cli claims_name instead of dn

* fix: jans-cli add claims to scope

* fix:jans-cli disable getting UMA resource for new client

* fix:jans-cli exclude prev_selected claims from scope

* fix:jans-cli test get-all-attribute

* fix: jans-cli unescaped split for params

* fix:jans-cli handle long column data

* fix:jans-cli fix preferred size for jansvertical nav in claims

* fix:jans-cli adjust column sizes in scopes

* fix: jans-cli Scripts plugin skeleton

* fix: jans-cli getting scripts

* fix: jans-cli saving scope claims

* fix: jans-cli exclude __key__ in data

* fix: jans-cli search scripts

* fix:jans-cli view Spontaneous Scope

* feat: jans-cli edit script dialog

* feat:fans-cli escape-key to exit all dialogs

* feat: jans-cli alt shortcut keys

* fix: jans-cli alt key shortcuts for submenu

* fix:jans-cli change client dialog structure - trying to make F2 save >> self.save not in init

* fix:jans-cli fix no len in escape key bindings

* fix:jans-cli fix navigation on dialog open or on firrent tab

* fix: jans-cli re-authorize after access token expired

* fix: jans-cli script conf property edit dialog

* fix: jans-cli obtain data from edit script dialog

* fix: jans-cli edit script dialog

* fix:jans-cli adding unit-tests for widgets

* fix:jans-cli f2 for save dialogs

* fix:jans-cli fix get_scoeps when no data

* fix: jans-cli finish edit scripts

* fix:jans-cli fix dropdown float when s+tab

* fix:jans-cli fix view Spontaneous Scopes on adding new client

* fix:jans-cli fix some fields types

* fix:jans-cli specify types for function args

* fix:jans-cli fix navbar not-required

* fix:jans-cli specify types for function arg-oxauth

* fix:jans-cli specify return type

* fix:jans-cli specify types for function arg-scripts

* fix:jans-cli specify types for function args

* fix: jans-cli update config-api yaml file

* fix:jans-cli fix unsaved values

* fix: jans-cli remove client-api addon

* fix: jans-cli Auth Serber Keys screen

* feat: jans-cli auth server logging screen

* feat: jans-cli logging screen

* fix:jans-cli fix unsaved values

* fix: jans-cli more styling

* fix: jans-cli plugin initialization

* fix:jans-cli specify types for function args

* fix:jans-cli add some arg feat and fix scope deletiong

* fix:jans-cli client and uma-res deletion

* fix:jans-cli client and uma-res deletion

* fix: jans-cli view based shortcuts

* fix: jans-cli missing components after rebase

* fix:jans-cli function args

* fix: jans-cli on_page_enter

* fix: jans-cli fill fido entries in background process

* fix: jans-cli get appconfiguration in background process

* fix:jans-cli Auth/properties get all

* fix:jans-cli add init function arg for plugins

* feat:jans-cli add properties tab

* feat:jans-cli add search, get, buttons and popup-dialog for properties

* fixt:jans-cli focus lost after wrong search

* fix:jans-cli view list of dicts--not saved yet

* fix: jans-cli fido2 items

* fix: jans-cli only users have admin role can use TUI (ref: #2129)

* fix:jans-cli Error in type of some fields >> added to TODO only

* fix:jans-cli remove some un-existing values from properties

* fix:jans-cli display all fields >> missing the : in view and save for all

* fix:jans-cli save all except the list of dicts (ref: #2674)

* feat: jans-cli FIDO Static Configuration screen

* fix:jans-cli properties tab is working well

* fix:jans-cli rename view_property to be lower case and delete preview.ipynb

* fix:jans-cli add help for properties. client, and Scopes (ref: #2731)

* fix:jans-cli add jans_help for all fields (ref: #2739)

* fix:jans-cli add jans_help for all fields scopes (ref: #2739)

* fix:jans-cli add jans_help for all fields scripts (ref: #2739)

* fix:jans-cli error if no data

* fix: jans-cli remove FIDO/Registrations tab

* fix:jans-cli semi-solved for error in alt key shortcuts for submenu (ref: #2748)

* feat: jans-cli integer validator (ref: #2758)

* fix: jans-cli fido integer fields

* fix: jans-cli re-orginise files

* fix: jans-cli use auto-generated yaml files

* feat: jans-cli file .enable should exists to load plugin

* fix: jans-cli stop using pynput

* fix: jans-cli catch exeption when getting device verification code

* fix: jans-cli authorization for auto-generated swagger file

* fix: jans-cli JSONWebKey

* feat: jans-cli generate merged yaml file

* fix: jans-cli external pyjwt module

* fix: jans-cli always log

* feat: jans-cli enable run remotely

* fix jans-cli remote install doc

* fix: jans-cli add integer validator

* feat:jans-cli add config-api skelton

* feat: jans-cli progress icon

* fix: jans-cli more progressing

* fix: jans-cli auto-generated files separately (closes #2820)

* fix: jans-cli fixes for seperate yaml files

* fix: jans-cli SCIM app configuration

* feat: jans-cli user-management main screen

* feat: jans-cli cli requests without thread

* fix: jans-cli progress icon color

* fix: jans-cli Error on utils when integer value and none (ref: #2866)

* fix: jans-cli Operation ID change after changing yaml file #2867 #2868

* fix: jans-cli add threads for Clients Delete (ref: #2868)

* feat: jans-cli edit-user dialog skeleton

* fix:jans-cli revert > no threed needed (ref: Close #2868)

* fix: jans-cli user-management:admin-ui roles

* fix: jans-cli user-management:remove groups

* feat: jans-cli Config-api (ref: #2872)

* feat: jans-cli Extend Next and Prev buttons to all plugins (ref: #2875)

* feat: jans-cli user-mgt: add claim

* fix: jans-cli user-mgt password

* feat: jans-cli fid02 save configuration

* fix: jans-cli remove debug lines

* feat: jans-cli user-mgt save user

* feat: jans-cli typo

* fix: jans-cli user-mgt finish user management

* fix: jans-cli user-mgt pagination index

* fix: jans-cli clients non-threaded

* fix:jans-cli remove debug lines

* feat:jans-cli config-api (ref: #2872 #2720)

* fix:jans-cli remove transparent box (ref: #2940)

* fix: jans-cli directory restructure

* feat: jans-cli build

* fix: jans-cli remove local yaml files

* fix: jans-cli local gitignore

* fix: jans-cli scim non-threaded

* fix: jans-cli download scim yaml file when building

* fix: jans-cli scripts non-threading and fixes

* fix: jans-cli directory restructure

* fix:jans-cli fix typo in responce name

* fix: jans-cli delete script

* fix: jans-cli device verification in exceutor

* fix: jans-cli use app.loop instead of get_event_loop()

* fix: jans-cli ending string

* fix: jans-cli add Deletable for config-api roles (ref: #2965)

* fix:jans-cli three more fields are savable now (ref: #2638)

* feat: jans-cli menu for exit, logout and configure

* fix:jans-cli Error on Get-Clients (ref: #2976)

* fix: jans-cli fix wrong property in client properties (ref: #2638)

* fix: jans-cli fix 3 wrong property in Auth/clients (ref: #2638)

* fix: jans-cli call revoke session on logout

* fix: jans-cli progress while revoking session

* fix: jans-cli all Auth/clients are savable (ref: Close #2638)

* fix:jans-cli remove necessary Comments

* eat:jans-cli hotkey for top navigation focus (ref: #2994)

* doc: jans-cli building pyz

* docs: jans-cli-tui simplified pip3 install

* fix: jans-cli admin-ui roles asyncio

* fix: jans-cli saving scopes

* fix: jans-cli display reason for not deleting admin-ui role

* fix: jans-cli save admin-ui roles in asyncio

* fix: disable Config-API if admin-ui plugin is not available

* fix: jans-cli search scope (ref: #3045)

* fix: jans-cli fido2 (ref: #3046)

Co-authored-by: AbdelwahabAdam <abdelwahabosama.1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-cli-tui Component affected by issue or PR comp-jans-tui kind-feature Issue or PR is a new feature request priority-0 Causes full outage, breakage, or major function unavailability for everyone, without a workaround.
Projects
None yet
Development

No branches or pull requests

4 participants