Commit graph

245 commits

Author SHA1 Message Date
Erik Jan de Wit
2cb4fcc29d
Hide clustering section when not publicClient (#2186) 2022-03-07 15:28:26 +01:00
Erik Jan de Wit
5dc2450b01
Remove authorization tab when disabled (#2181) 2022-03-07 14:49:58 +01:00
Erik Jan de Wit
b7ea8629a2
Refactored the way we show time using Intl (#2178) 2022-03-07 14:49:38 +01:00
Erik Jan de Wit
1b6d679d89
Added missing fields (#2163) 2022-03-07 14:42:06 +01:00
Jenny
bbc0bcf8b2
Add new capability configs and tests (#2164)
* add checkbox fields, more tests

unskip test

fix beforeEach

add front channel logout configs

set default to true

set default to true

fix console warning and conditionally render url field

show frontchannel settings under logout settings if OIDC client

PR feedback from Jon

* fix clients test

* resolve console warning

* addCapabilityConfigs
2022-03-02 16:59:37 -05:00
Erik Jan de Wit
b8cc2f5d7b
added missing field (#2169) 2022-03-02 22:38:52 +01:00
Jenny
741bc0d195
Add "always display" switch (#2165)
* add always display switch

* add optional param to fillClientData

* add frontchannelLogout to SAML settings

* fix test
2022-03-02 11:08:01 -05:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
Erik Jan de Wit
2d55809caf
added the missing example code blocks (#2103) 2022-02-23 15:46:26 +01:00
ikhomyn
83d9018f6d
new Client->details->ClientScopes and ClientScopes tests (#1967) 2022-02-22 13:46:49 +01:00
Erik Jan de Wit
27ed3e40fe
Added missing fields (#2047) 2022-02-22 12:22:29 +01:00
Jenny
816d2b5221
make name required (#2100) 2022-02-21 19:13:25 +01:00
Erik Jan de Wit
35ef6aff88
Added new / missing fields (#2035) 2022-02-21 16:43:23 +01:00
Erik Jan de Wit
d5909709b7
remote client-scopes and mappers for bearer only (#2065) 2022-02-21 16:20:24 +01:00
Erik Jan de Wit
627571dbf4
fixed attribute name (#2048)
fixes: #1382
2022-02-21 15:28:04 +01:00
Erik Jan de Wit
cf6413af41
initial version of dedicated client scope (#2000) 2022-02-21 13:14:20 +01:00
Erik Jan de Wit
3bf43f15c0
removed login settings section for baerer only (#2064)
fixes: #1504
2022-02-17 19:41:05 -05:00
Erik Jan de Wit
d56f805a4e
added missing fields: (#2049)
* `User Refresh Tokens`
* `Use Refresh Tokens for Client Credentials Grant`

as stateted in #1385
2022-02-17 16:40:09 -05:00
Jenny
fa0e162c0b
Clients(authorization -> evaluate): Adds expandable results table (#2004) 2022-02-17 17:03:18 +01:00
Erik Jan de Wit
f8b3595344
fixed test if value is set (#2092)
fixes: #1386
2022-02-16 13:08:23 -05:00
Aboullos
5227115f05
Add Clients tests, fix notification message and stabilize tests (#1999)
* Add Clients tests and fix notification message

* Remove TODO message

* Add waits and refactor

* Refactor and fix tests in realm settings

* Fix lint

* Refactor, fix tests and add stability

* Refactor and stabilize tests

* Stabilize tests

* Fix Realm settings event test and stabilize

* Set confirmModal to always force click

* Add force click and wait

* Fix masthead test

* Modify cypress.json

* Modify realm dropdown selector

* Revert hook changes
2022-02-16 17:34:54 +01:00
Jenny
158bd07398
index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704) (#1961)
auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

wip contextual attributes

wip contextual attributes

add conditional dropdown for auth method

wip resource fields

scopes and context inputs working

fix resources error and update onChange

package-lock

cleanup: remove comments and log stmts

add conditional fields when applyToResourceType is true

package.json from main

PR feedback from Erik

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

Update src/clients/authorization/AuthorizationEvaluate.tsx

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

handleSubmit

remove log stmt

fix cypress test

PR feedback from Erik

try fixing policies test

PR feedback from Jon

Co-authored-by: Jon Koops <jonkoops@gmail.com>

PR feedback from Jon

rename id

revert client policy test

reset

add trigger

authEvaluateReset

conditionally render based on type

Apply suggestions from code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

PR feedback

remove controller

Update src/components/attribute-input/AttributeInput.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

PR feedback

Update src/clients/authorization/AuthorizationEvaluate.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

remove reset
2022-02-15 12:52:46 -05:00
Erik Jan de Wit
5fd344a7bd
Added scope typed permission screen (#1933)
* added scope type permission

* review comments

* Update src/clients/authorization/PermissionDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ScopeSelect.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* PR review

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-10 09:23:23 +01:00
Jenny
5968e1a7ee
Clients(Authentication): Adds "Export" tab (#1937) 2022-02-09 23:37:31 +01:00
Erik Jan de Wit
90199db346
Added default group tab to user registration (#1965) 2022-02-09 12:46:58 +01:00
Erik Jan de Wit
9d9388a7ea
Removed un-nessary casts (#2030) 2022-02-08 14:57:04 +01:00
Erik Jan de Wit
6a970e6cb7
updated and fixed user test (#1956)
* updated and fixed user test

* Update cypress/integration/users_test.spec.ts

* fixed the confirm button test id

* fixed tests

* fix

* removed unused refresh

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-02-02 12:44:52 +01:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant (#1990) 2022-02-02 11:33:57 +01:00
Erik Jan de Wit
8b0327fa2c
Changed to use routable tabs (#1934)
* Changed to use routable tabs

* fixed tests
2022-01-31 08:20:35 +01:00
Erik Jan de Wit
c4724b21c8
added permission search (#1890) 2022-01-24 15:17:32 +01:00
Jenny
dea54e674a
Clients: Authorization -> Evaluate tab (#1861) 2022-01-23 21:21:19 +01:00
Erik Jan de Wit
109c255d90
Added the policy screens (#1884)
* initial policies tab

* added initial edit create screen

* removed switch in favour of mapping list

* added pickers

* added groups

* added regex

* added role select component

* added time

* added js type

* fixed create route

* fixed details

* added tests

* changed table header to required

* added user type

* added missing validation message
2022-01-21 15:10:36 +01:00
Erik Jan de Wit
d5ecda9e74
added links to permission create (#1885) 2022-01-19 11:11:40 +01:00
Jenny
105d0dffb0
Adds selectable attribute functionality (#1840)
* index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704)

auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

* wip contextual attributes

* wip contextual attributes

* add conditional dropdown for auth method

* key and value can be saved now

* wip selectable save

* selectable attribute input save success

* changes to AttributeInput only

* revert files to versions from master

* add back defaultContextAttributes

* set id

* delete autheval file

* remove isKeySelectable

* lift props

* localize names and separate dropdown from the other attribute inputs

* remove log stmt

* add placeholder, return implicitly

* fix select/save

* reorder hook and conditional

* translate, fields/save working
2022-01-17 14:26:42 -05:00
Erik Jan de Wit
811131518e
Adds the permissions tab to the Authorization screen under clients (#1835)
* initial work on permissions

* search dropdown permissions

* permissions tab

* added empty state

* added new permssion detail route

* added detail screen

* fixed load

* added decision strategy

* added tests

* fixed class name and identeded the expandable table row
2022-01-12 11:01:54 -05:00
Erik Jan de Wit
e6d8ffb202
initial version of the scopes screen (#1750)
* initial version of the scopes screen

* added scopes edit details

* Update src/clients/authorization/MoreLabel.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* pr review

* Update src/clients/routes/NewScope.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/Scopes.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/Scopes.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* merge fix

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-01-04 10:17:43 +01:00
mfrances17
aa99ac7e2d
Add help url links (#1747)
* initial work

* add help urls for all main landing pages
2021-12-21 10:32:53 -05:00
Marco
2276311334
Credentials Reset Flow (#1699)
* Add credential reset modal

* Add i18n labels

* Refactor to align with marvelapp mockup
TODO: tests

* Add e2e tests

* Implement code review change requests
Add menuAppendTo to CredentialResetActionMultiSelect -> Select component
Add optional menuAppendTo prop to TimeSelectorComponent
Refactor CredentialsPage constructor
2021-12-21 07:22:44 +01:00
Erik Jan de Wit
a473a0b07f
added import and save functions to resource tab (#1676)
* added import and save functions to resource tab

* added test

* fixed the test
2021-12-16 17:31:17 +01:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +01:00
ikhomyn
383673fc1a
Fix. 1359-Can't view all scopes. (#1675) 2021-12-10 13:24:26 +01:00
Erik Jan de Wit
242c1d8445
better form convert (#1640)
* better form convert

* fixed other forms

* changed to use npm package

* better form convert

* merge fix

* fixed mapper test
2021-12-08 16:08:42 +01:00
Jon Koops
7cef4ae2d4
Trim names of client, realm role, user and group before saving (#1639) 2021-12-06 17:32:52 +01:00
Erik Jan de Wit
bc8ffed934
added import dialog for authorization resources (#1604) 2021-12-01 12:05:24 +01:00
Erik Jan de Wit
0bbd4ddad1
Initial version of the create and edit resouce screen (#1573)
* Initial version of the create and edit resouce screen

* refactored and fixed the attributes form

introduced a new component that can be used more easily

* Update src/components/json-file-upload/FileUploadForm.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/components/attribute-form/attribute-convert.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ResourceDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ResourceDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/clients/authorization/ResourceDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* PR review

* fixed tests

* PR review comments

* resourceId is optional

* Update src/components/attribute-form/attribute-convert.ts

Co-authored-by: Jon Koops <jonkoops@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-01 08:58:25 +01:00
Jon Koops
61b2689864
Add useToggle hook to manage toggleable state (#1600) 2021-11-30 14:07:44 +01:00
Jenny
d08b55ae9a
Realm settings(client policies): add/edit client-updater-source-groups condition (#1577) 2021-11-24 17:19:28 +01:00
Jenny
999b502d44
Realm settings(Client policies): Update client-scopes condition to match new design (#1575) 2021-11-23 15:59:04 +01:00
Erik Jan de Wit
15baa43cfb
Added initial "Authorisation" tabs Settings and Resources (#1524) 2021-11-17 09:27:56 +01:00
Erik Jan de Wit
ede8db53a0
Added default role tab to realm settings (#1497)
* added user registration tab to realm settings

* added keycloak spinner

* fixed routing from all role tabs

* Update src/realm-settings/RealmSettingsTabs.tsx

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* changed tab name to "associated-roles"

* removed useless key attribute

* removed unnessary variable

* fixed pagination

* rebased

* fixed default role type

* fixed create realm role

* fixed helpItem forID

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-11-16 12:10:10 +01:00