Commit graph

315 commits

Author SHA1 Message Date
Jenny
08775c65a2
fix scope details title key (#2280) 2022-03-21 09:52:07 +01:00
Erik Jan de Wit
51aba823ef
Convert detail tab text to links (#2277)
* convert to link

* changed to be link to details

fixes: #2039
2022-03-21 07:45:49 +01:00
Jenny
8d86d380ac
Auth evaluate fix (#2274)
* fix incorrect empty state

* fix incorrect empty state
2022-03-18 14:28:31 +01:00
Erik Jan de Wit
68a8c29a8a
always enable regenerate button (#2237)
fixes: #1832
2022-03-18 14:20:51 +01:00
Erik Jan de Wit
b023c802f5
Fixed line up and added missing search dropdowns (#2264) 2022-03-16 14:57:50 +01:00
Erik Jan de Wit
0a33d5f0dd
Default value and required field for generate keys (#2195) 2022-03-16 11:37:45 +01:00
Erik Jan de Wit
8d5b2f903a
Split out the key based into a sperate component (#2177) 2022-03-16 10:39:58 +01:00
mfrances17
49c77c20cd
Change order of client sections (#2245) 2022-03-15 10:43:48 +01:00
Erik Jan de Wit
a3105e9327
Validate the input from the user (#2242) 2022-03-14 11:26:36 +01:00
Erik Jan de Wit
d85fc18a63
Added preselected / disabled on create permission (#2236) 2022-03-14 11:17:16 +01:00
Erik Jan de Wit
6539c8a0c1
Sort client scope dialogs (#2239) 2022-03-14 11:17:03 +01:00
Jenny
b64fd23559
Fix(clients -> authorization): Evaluate results screen (#2220) 2022-03-11 11:19:20 +01:00
Erik Jan de Wit
47a8c25c99
Catch 403 when only query-clients is allowed (#2182) 2022-03-10 11:46:42 +01:00
Erik Jan de Wit
3bdb8ce80f
Remove capabities step from wizard for SAML (#2191) 2022-03-09 17:45:53 +01:00
Erik Jan de Wit
62c13adda7
Fixed title and link to page (#2183) 2022-03-09 17:44:43 +01:00
Erik Jan de Wit
37d1087e7e
Use string[] directly removed need for converstion (#2175) 2022-03-09 17:42:23 +01:00
Erik Jan de Wit
c88628d4f7
Removed 'revocation' section when client is SAML (#2192) 2022-03-08 10:53:25 +01:00
Erik Jan de Wit
e3c0bb82a1
Added missing groups claim field (#2170) 2022-03-07 18:08:46 +01:00
Erik Jan de Wit
01ab5b12e0
Added and removed saml fields (#2168) 2022-03-07 18:08:14 +01:00
Erik Jan de Wit
7d2abf0a9b
Change the way clients are stored in the form (#2184) 2022-03-07 15:28:42 +01:00
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
Erik Jan de Wit
9b3cd978c3
fixes: #1514 (#1551) 2021-11-15 08:30:53 +01:00
Erik Jan de Wit
405d3310f3
add ability to leave multiple groups (#1431)
* add ability to leave multiple groups

fixes: #496

* With v21.0.0 a new JSON format v4 was introduced

* Update src/user/UserGroups.tsx

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

* Update src/user/UserGroups.tsx

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

* filter selected groups based on direct membership

* fixed test

* remove all the groups

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-03 09:45:37 -04:00
Jon Koops
79f8452ab5
Normalize client attributes before saving (#1442) 2021-10-29 14:28:58 -04:00
Erik Jan de Wit
c96450ef61
make all routes lazy (#1445) 2021-10-29 18:11:06 +02:00
Erik Jan de Wit
acd8921b20
Added mapping tab to clients (#1375)
* initial version mapper tab for clients

* added missing client select component

* added test

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

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

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

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

* now uses adminClient type for client search

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-20 16:26:05 +02:00
Erik Jan de Wit
8f34e4a3e6
fixed key (#1345) 2021-10-14 12:30:49 +02:00
Jon Koops
01e6bfeef5
Mask private key when exporting SAML client (#1326) 2021-10-14 09:52:36 +02:00
Jon Koops
ef4d973a67
Add missing artifact fields to SAML endpoint configuration (#1328) 2021-10-13 00:15:19 +02:00
Erik Jan de Wit
60e4676ac8
added saml keys tab (#1308)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-12 11:28:55 +02:00
Jon Koops
bd7ca9a7fa
Add utility function to pretty print JSON (#1310) 2021-10-08 20:21:09 +02:00
Jon Koops
10d7c35b81
Hide capability config for bearer-only clients (#1279) 2021-10-06 13:05:27 +02:00
Erik Jan de Wit
c71d21c748
Settings (SAML) (#1302) 2021-10-05 12:32:20 +02:00
Jon Koops
ed0949a44f
Add a human readable name for client protocol (#1283) 2021-10-01 16:36:36 +02:00
Jon Koops
eb40cabf03
Use type-safe alternative for links (#1280) 2021-10-01 12:52:45 +02:00
Jon Koops
e832e2e454
Remove ability to delete a realm client from the overview (#1278) 2021-10-01 12:52:24 +02:00
Jon Koops
8e8c6d74ea
Add tests for bearer-only client details (#1270) 2021-09-30 12:04:50 +02:00
Erik Jan de Wit
bd8fc558d5
now checks if data could be loaded and throw error (#1265) 2021-09-30 10:58:48 +02:00
Jon Koops
b9d1dbff4c
Hide certain elements on the page if client is a realm (#1245) 2021-09-28 17:14:49 +02:00
Jon Koops
cfe83c769b
Show a tooltip to explain bearer-only clients (#1244) 2021-09-28 14:09:27 +02:00
Erik Jan de Wit
673fe7c9b3
fixing messages (#1241)
fixes: #1160
2021-09-27 16:54:01 +02:00
mfrances17
6063c8db96
add tooltips for client login fields (#1184) 2021-09-17 13:50:56 -04:00
Erik Jan de Wit
b8990cbf63
Make filtering of client scopes same for clients and client scope section (#1064)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-14 17:48:48 +02:00
Jon Koops
5979101b0b
Process UXD feedback for client revocation (#1139) 2021-09-10 15:25:18 +02:00
Erik Jan de Wit
f1f0c362b4
Add button on authentication flows (#1119) 2021-09-06 14:43:36 +02:00
Erik Jan de Wit
f87463d036
add action menu to current user (#1094)
* add action menu to delete current user

* added impersonate user to action manu

* fixed spelling
2021-09-03 09:54:23 -04:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +02:00
Erik Jan de Wit
4d789f84e3
fixed logic when to show empty search result (#1053)
fixes: #1040
2021-08-24 12:38:29 +02:00
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Erik Jan de Wit
321b259a4b
fixed focus and min value (#999)
fixes: #405
2021-08-16 11:40:14 +02:00