Commit graph

1230 commits

Author SHA1 Message Date
Stan Silvert
1c296a1641
Fine-grained permissions for user section. (#2451) 2022-04-21 17:03:48 +02:00
Jon Koops
d5f6aca82e
Replace text inputs with KeycloakTextInput (#2413) 2022-04-21 17:03:26 +02:00
Erik Jan de Wit
6a07c091b7
First and max need to requery (#2450) 2022-04-21 16:53:30 +02:00
Erik Jan de Wit
50ba699ab8
fixed error when data not found (#2449)
* fixed error when data not found

fixes: #2447

* change to useMemo
2022-04-20 15:10:30 -04:00
Jenny
709a9987ad
Add search and delete to key providers tests (#2374)
* add search and delete to key providers tests

* fix logic

* add tests to search provider types

* fix length val

* Skip failing test.

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2022-04-20 14:20:33 -04:00
Erik Jan de Wit
43c6564895
Changed to use the same form + rename (#2342) 2022-04-20 19:11:46 +02:00
Erik Jan de Wit
cc594aa00c
Added labels for loa properties (#2411) 2022-04-20 16:38:29 +02:00
Erik Jan de Wit
324ebdaf11
Added initial version of the client permission tab (#2452) 2022-04-20 11:42:24 +02:00
Erik Jan de Wit
898d609f51
Added tests for realm role attributes (#2391) 2022-04-20 11:29:35 +02:00
mfrances17
0dd9cacdd3
Adds tests for LDAP provider advanced and cache settings (#2338)
* adds ldap advanced and cache tests

* fixes issues from merges

* dont force close notification

* error msg differs
2022-04-14 13:07:28 +02:00
Erik Jan de Wit
4fc64e6915
Removes the already added validators after closing the dialog (#2435) 2022-04-13 15:18:26 +02:00
agagancarczyk
7418bca8f4
Realm-settings -> User Profile -> Create/Edit Attribute tests (#2410)
* added tests for creating new attribute

* added more tests

* removed temporary skips

* added more tests

* added more tests

* fixed typo

* fixed focus bug

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-11 15:00:08 +01:00
Stan Silvert
fcc514a12f
Avoid errors in Groups section. (#2414) 2022-04-11 11:22:43 +02:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState (#2412) 2022-04-08 14:37:31 +02:00
mfrances17
818b8cdbb9
Adds LDAP searching tests (#2385) 2022-04-08 11:47:14 +02:00
Erik Jan de Wit
e681dbae4a
Enabled more tests (#2399) 2022-04-08 10:56:20 +02:00
Erik Jan de Wit
2d1baed0e9
Remove picked validators from list (#2405) 2022-04-07 16:35:17 +02:00
Erik Jan de Wit
36cf7022f5
Add id to the form (#2400) 2022-04-07 13:42:29 +02:00
mfrances17
0f48da11e7
Adds LDAP kerberos integration and synchronization tests (#2378) 2022-04-07 00:06:56 +02:00
dependabot[bot]
525d90c234
Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10 (#2390)
* Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10

Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 18.0.0-dev.8 to 18.0.0-dev.10.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v18.0.0-dev.8...v18.0.0-dev.10)

---
updated-dependencies:
- dependency-name: "@keycloak/keycloak-admin-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 16:08:30 +02:00
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +02:00
Jenny
bb226b52ff
Adds Realm Settings tests for general tab (#2336) 2022-04-05 21:34:21 +02:00
mfrances17
ef9d0ca822
Adds LDAP connection and general tests (#2376) 2022-04-05 21:33:51 +02:00
Erik Jan de Wit
4b150993a6
Fixed text of empty state (#2295) 2022-04-05 17:02:27 +02:00
Erik Jan de Wit
aaa22e3df0
fixes empty key value convert (#2370)
* fixes empty key value convert

* Update src/util.ts

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

* fix linting issues

* use some()

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-04-05 09:39:32 +02:00
Jon Koops
b40da16afd
Upload server log after running Cypress tests (#2341)
* Upload server log after running Cypress tests

* fix typos
2022-04-05 09:20:00 +02:00
mfrances17
e44103dda5
Use number input for max lifespan (#2333)
* changed max lifespan to number input

* fixes kerberos test
2022-04-05 09:18:57 +02:00
mfrances17
24fc696022
Fixes header and cancel when adding realm roles (#2327)
* fix header and cancel btn

* fix issue with clients
2022-04-05 09:17:50 +02:00
Jon Koops
23b311c552
Fix linting issues (#2383) 2022-04-01 11:46:46 +02:00
agagancarczyk
c0981a1bae
fixed cannot destructure property error (#2377)
* fixed cannot destructure property error

* fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-31 15:23:28 +01:00
agagancarczyk
4c70064bd4
Ream-settings -> User Profile -> Edit Attribute (#2343)
* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* moved form initialisation to central place

* fixed loading values

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-31 14:28:48 +01:00
Erik Jan de Wit
be2d7e268e
Added missing field (#2369) 2022-03-30 11:23:04 +02:00
Erik Jan de Wit
d2bac33d37
Changed to be disabled when not enabled (#2323) 2022-03-29 12:39:46 +02:00
Erik Jan de Wit
f3798324a3
Override when already set with default (#2283) 2022-03-29 11:23:26 +02:00
Erik Jan de Wit
6857d62545
added more missing fields (#2329)
fixes: #1385
2022-03-29 09:55:05 +02:00
Erik Jan de Wit
78bdf2d2ec
don't test ldap when form isn't valid (#2294)
* don't test ldap when form isn't valid

fixes: #1776

* changed to PF way of showing errors

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-03-29 09:49:43 +02:00
Erik Jan de Wit
e9707f0a87
sort mappers in alphabetical order (#2292)
fixes: #1821
2022-03-29 09:49:19 +02:00
Erik Jan de Wit
f04788028b
Fixed the filter dropdown (#2315) 2022-03-28 22:57:32 +02:00
Erik Jan de Wit
8b8f564c61
Added service account user link (#2322) 2022-03-28 22:56:18 +02:00
Jenny
86b3fb93a9
Client credentials: "Regenerate" button fix (#2337) 2022-03-28 22:54:15 +02:00
Jenny
0c628e2b7c
fix create user bug (#2317) 2022-03-28 15:05:33 -04:00
Jenny
3efffab55d
Realm settings(login tab): Add login tests (#2260) 2022-03-28 17:34:07 +02:00
Erik Jan de Wit
de32d5d163
Fixed small layout issue and set default label of password (#2286) 2022-03-28 15:32:06 +02:00
Erik Jan de Wit
74ecc18be0
Change button text to "set password" (#2287) 2022-03-28 15:31:51 +02:00
Erik Jan de Wit
219e239c89
Show baseUrl when rootUrl is not set (#2285) 2022-03-28 15:15:12 +02:00
dependabot[bot]
631f8320c5
Bump prettier from 2.6.0 to 2.6.1
* Bump prettier from 2.6.0 to 2.6.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:55:21 +02:00
Erik Jan de Wit
bd82872282
Make the export tab tests more stable (#2339) 2022-03-25 12:19:15 +01:00
Erik Jan de Wit
b2d507a390
Added empty state to add scope dialog (#2291) 2022-03-22 12:58:49 +01:00
Erik Jan de Wit
e641af0b16
changed to use the SearchInput (#2314)
fixes: #1348
2022-03-22 12:16:24 +01:00
Erik Jan de Wit
b68ddc2843
put focus on the right field (#2296)
fixes translation keys as well
fixes: #1180
2022-03-22 12:16:02 +01:00
Erik Jan de Wit
8631584920
make resouce field required (#2290)
fixes: #2061
2022-03-22 12:13:43 +01:00
agagancarczyk
12977d929c
Create attribute - required toggle in general settings (#2279)
* fixed required in general settings

* feedback

* indentation fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-21 14:46:01 +00:00
Erik Jan de Wit
3395744d3d
Revert "fixed link (#2258)" (#2312)
This reverts commit 44f0306840.
2022-03-21 12:34:43 +01:00
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
Erik Jan de Wit
44f0306840
fixed link (#2258)
fixes: #1958
2022-03-21 07:44:36 +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
f71cbf171a
assure that the value is either emtpy or 0 (#2243)
fixes: #1941
2022-03-18 14:21:21 +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
f3d1c0fc2d
generate provider form with the dynmic components (#2198)
* generate provider form with the dynmic components

Added a FileComponent and removed the need for custom views

* fixed merge error

* fixed tests

* Update src/realm-settings/keys/key-providers/KeyProviderForm.tsx

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-18 14:20:23 +01:00
agagancarczyk
84d501c145
added deleting validator (#2278)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-17 11:05:10 +00:00
Erik Jan de Wit
330dd33803
Always keep DEFAULT_LOCAL selected (#2241) 2022-03-16 14:58:25 +01:00
Erik Jan de Wit
b023c802f5
Fixed line up and added missing search dropdowns (#2264) 2022-03-16 14:57:50 +01:00
mfrances17
45b6be4fe8
Fixes SAML provider AuthnContext Constraints fields (#2231)
* no multiline for now

* multiline work in progress

* changed to JSON.stringify

* both multiline fields working

* check for undefined to prevent JSON issue

* streamline saml and oidc provider tests

* final tests and misc fixes

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-16 07:25:01 -04:00
Erik Jan de Wit
e672849935
Fix build (#2276) 2022-03-16 12:11:51 +01:00
mfrances17
8fa978aeb0
Add all missing Kerberos tests (#2263) 2022-03-16 11:48:21 +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
agagancarczyk
9242ba6935
Ream-settings-> User profile -> Create attribute (#2265)
* create attribute - wip

* create attribute - wip

* create attribute - added attributes general settings form template

* create attribute - added attributes permission form template

* added validations form

* added validations table

* added empty state for validators table

* added attribute annotations form

* attribute validations - css improvement

* attribute annotations - css improvement

* added requiredWhen label

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute

* fixed deleting attribute

* put the validators into the form

* feedback fixes

* added defaultValues

* fixed permissions

* removed unused form value

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
2022-03-16 09:32:23 +00:00
Erik Jan de Wit
ba4765fdc5
remove add users button (#2235)
fixes: #1808
2022-03-16 10:09:27 +01:00
Erik Jan de Wit
ceffcba321
Added hint when no user found (#2257) 2022-03-15 10:44:46 +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
b426886e6a
Changed to use RoutableTabs (#2244) 2022-03-14 11:26:19 +01:00
Erik Jan de Wit
883e59a5a3
Remove "Revoke Refresh Token" when not revoke on (#2234) 2022-03-14 11:26:06 +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
Erik Jan de Wit
05f321fd06
Added confirm dialog on disable (#2238) 2022-03-14 11:16:43 +01:00
Jenny
7c4509e9bf
Add realm actions tests 2022-03-14 11:16:23 +01:00
Erik Jan de Wit
5dba749b78
Reset filter after change (#2226) 2022-03-14 11:15:48 +01:00
mfrances17
92401922d3
changed tab order (#2246) 2022-03-14 11:15:28 +01:00
mfrances17
fc4ce1201d
fix client profile links (#2247) 2022-03-14 11:15:03 +01:00
Erik Jan de Wit
4ca905d667
Added filter (#2224) 2022-03-11 11:22:09 +01:00
Erik Jan de Wit
c73b4d2432
added hidden input to submit name when disabled (#2222) 2022-03-11 11:19:43 +01:00
Jenny
b64fd23559
Fix(clients -> authorization): Evaluate results screen (#2220) 2022-03-11 11:19:20 +01:00
Jenny
3a25b5e5ec
use isReadOnly (#2221) 2022-03-10 16:05:15 -05:00
Erik Jan de Wit
bc365b03b9
fixed dragging and dropping (#2219) 2022-03-10 16:16:53 +01:00
Erik Jan de Wit
c72a9bbf06
Removed the need to refresh the page (#2217) 2022-03-10 11:47:04 +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
Jenny
ae133d675b
Clients -> Roles Tab: Adds Role Tests (#2174) 2022-03-09 17:41:45 +01:00
Erik Jan de Wit
efb3a36d32
Fixed getting text from JSX element (#2193) 2022-03-08 17:21:38 +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
1104f9ee20
Added bind type dialog (#2173) 2022-03-07 18:36:52 +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
a6cdb489b2
Removed file preview panel from keys provider (#2197) 2022-03-07 15:40:39 +01:00
agagancarczyk
9d376ebcde
User Credentials -> Draggable user credentials (#2131)
* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* added tests - wip

* added test

* draggable rows - wip

* feedback

* fixed position of reset credential btn

* fixed position of reset credential btn

* Remove unnecessary key props

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-07 14:32:34 +00:00
Erik Jan de Wit
a84701fe5c
added can select all checkbox (#2185) 2022-03-07 15:28:59 +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
dd35ccb9bf
Reset the form when the type is changed (#2189) 2022-03-07 15:27:10 +01:00
Erik Jan de Wit
663e96d000
Added a way to clear filters for non custom search (#2194) 2022-03-07 15:25:59 +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
ikhomyn
cf695626a6
fixed msg error when clientScope created with whitespace (#1997) (#2162) 2022-03-06 16:26:52 +01:00
Erik Jan de Wit
ca350380fb
Change local development and ci to quarkus (#2115) 2022-03-06 16:25:37 +01:00
Erik Jan de Wit
e486a189c0
fix for value === 0 (#2199) 2022-03-06 12:20:51 +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
Jon Koops
0152e5868d
Add form for User Profile attribute groups (#2021)
* Add form for User Profile attribute groups

* Add breadcrumbs to create and edit pages

* Add hints to form fields

* Link directly to details from overview

* Disable name field when editing

* Disable adding annotations when not valid
2022-03-01 06:44:42 +01:00
Jenny
baf2380d1e
Cypress tests: users (#2148)
* add users tests

* delete multiple users from list test

* users from search bar

* remove unnecessary its

* fix group test

* force add group click
2022-02-28 18:48:52 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
ikhomyn
17c0eb801c
* fixed Consent screen text was not shown (#2145) 2022-02-25 18:26:07 +01:00
Erik Jan de Wit
d46263d6c6
changed to number input to allow for blank (#2138) 2022-02-24 17:12:54 +01:00
Jon Koops
07098c3f5a
Fix realm settings events tests (#2144) 2022-02-24 12:44:40 +01:00
ikhomyn
36bb8e2ecd
fix new client scope default type value (#2139) 2022-02-24 12:43:09 +01:00
Jenny
72268bb896
Fix associated roles table (#2136) 2022-02-23 18:46:52 +01:00
Jenny
ecd65b3ce7
Username field (#2135) 2022-02-23 15:46:56 +01:00
Erik Jan de Wit
2d55809caf
added the missing example code blocks (#2103) 2022-02-23 15:46:26 +01:00
Erik Jan de Wit
6a4e490928
more robust links out from events (#2133) 2022-02-23 15:28:59 +01:00
Erik Jan de Wit
bda591fb0d
added better / more realm role tests (#2119) 2022-02-23 12:05:38 +01:00
Jon Koops
06de428848
Add 'useSetTimeout' hook to manage timers (#2134) 2022-02-23 11:29:50 +01:00
Erik Jan de Wit
6ef3dc16f5
removed not working filter option (#2067) 2022-02-22 14:30:18 +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
Jenny
41d58ab1b3
remove export button (#2096) 2022-02-21 18:23:44 +01:00
Stan Silvert
b892c49436
Fix bugs when admin has limited roles. (#2098) 2022-02-21 18:00:41 +01:00
Erik Jan de Wit
10b53617a0
removed components that don't adhere to server configuration (#2091) 2022-02-21 17:30:57 +01:00
Erik Jan de Wit
c84c983415
changed how errors are displayed (#2066) 2022-02-21 17:06:35 +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
f3de9464f6
async loading group can be undefined (#2068) 2022-02-21 15:58:28 +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
0065e9c7c2
fixing labels in case of SAML (#2111) 2022-02-21 14:55:02 +01:00
Jenny
9fa1c1303f
Add screens for rsa-enc-generated type (#2052)
* add screens for rsa-enc-generated type

* update tests
2022-02-21 13:19:41 +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
d1fd7a2f2e
removed unusable providerId (#2108) 2022-02-18 15:06:45 +01:00
Erik Jan de Wit
9eacd55edf
fixed logo locations (#2112) 2022-02-18 12:41:44 +01:00
Jenny
14ab0ceacb
Fix policy profiles (#2120) 2022-02-18 11:51:03 +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
mfrances17
e8e64798ea
Add componentId to LDAP provider test connection/authorization (#2038)
* add componentId to test calls and fix help ids

* rm ID default
2022-02-17 09:43:52 -05:00
Erik Jan de Wit
6427a15d1b
set default for allowCreate and readonly for select (#2034)
fixes: #1939
2022-02-17 09:42:35 -05:00
Erik Jan de Wit
ebeceefcbf
added missing fields to saml details page (#2033)
fixes: #1945
2022-02-17 07:51:32 -05:00
Erik Jan de Wit
5413a87011
remove child of sub flow instead of flow itself (#2069)
fixes: #1963
2022-02-16 14:04:43 -05: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
Erik Jan de Wit
c0a9b5cebc
Made form readonly and fixed initialisation (#2070)
* add the ablity for dynamic component to become
disabeled when used in a <FormAccess component

* add ability to manually make form readonly

* added readonly + fixed form initialize

fixes: #1898

* Update src/components/form-access/FormAccess.tsx

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-16 09:53:45 -05:00
agagancarczyk
a6904be9ff
Realm-settings -> User Profile -> Attributes (#2107)
* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* added dropdown for each attribute row

* added kebab logic

* added delete dialog - wip

* added delete dialog - wip

* added delete dialog - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* refactored draggable rows

* refactored draggable rows

* added tests

* added tests

* refactor

* refactor

* refactor

* renamed css file to realm-settings-section.css

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-02-16 11:39:08 +00:00
Jenny
42d8c31e84
fix mapper table bugs (#2093)
* fix mapperTableBugs

* use link with button

* add props
2022-02-15 14:42:04 -05: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
mfrances17
065aec9424
Fix console error on landing page (#2053) 2022-02-13 19:00:50 +01: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
8de96be98b
Refactored user credentials into seperate components (#2024) 2022-02-09 15:39:10 +01:00
Erik Jan de Wit
90199db346
Added default group tab to user registration (#1965) 2022-02-09 12:46:58 +01:00
mfrances17
f9d3f9dfa7
Add priorities to User Federation (#2005) 2022-02-09 10:16:10 +01:00
Erik Jan de Wit
d4b1230260
changed to use route functions (#1919)
fixes: #1196
2022-02-08 17:10:46 -05:00
Erik Jan de Wit
b4738bf897
handle error code < 500 in error handler (#1916)
* handle error code < 500 in error handler

also:
fixes: #378

* Update src/context/RealmsContext.tsx

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

* fixed import

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-08 17:10:27 -05:00
Erik Jan de Wit
9d9388a7ea
Removed un-nessary casts (#2030) 2022-02-08 14:57:04 +01:00
Jon Koops
d85ff6e9be
Re-use User Profile logic from shared context (#1951) 2022-02-07 12:49:47 +01:00
Sebastian Rose
7dfa1a8b19
Fix message for access token response claim in new admin ui (#2002)
* KEYCLOAK-19329 Fix message for access token response claim in new admin ui

Fixes #1993

* fixed fomatting

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-02-04 10:38:18 +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
b9e79b6d75
make all sub tabs routeable tabs (#1954)
* make all sub tabs routeable tabs

closes: #1507, closes: #1204

* fixed tabless route
2022-01-31 08:19:44 +01:00
Erik Jan de Wit
db63cdd61c
Removed waits from realm test (#1906) 2022-01-24 15:17:55 +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
Jenny
3f7a912c2a
Realm settings: Return user to Policies subtab (#1823)
* add function to go to policies subtab

* use routable tabs

* use new defaultLocation prop

* rebase, lint, and tests

* unskip

* fix cancel test
2022-01-20 10:34:58 -05:00
Erik Jan de Wit
bd28a912dd
optimized realm loading and added current realm (#1891) 2022-01-20 11:20:35 +01:00
Erik Jan de Wit
d5ecda9e74
added links to permission create (#1885) 2022-01-19 11:11:40 +01:00
Jon Koops
884102d83b
Make 'User Profile' tabs routable (#1862) 2022-01-19 10:41:52 +01:00
Jenny
b2b61c26ef
Fixes localization 500 error (#1858)
* fix localization crash

* add optional chain on themeTypes object

* add comment
2022-01-18 18:48:32 -05: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
Jenny
f489e186a1
Realm roles: fixes bug that prevents fields from being populated (#1839)
* realm role fields are now being populated

* remove setTimeout

* remove unnecessary conditional
2022-01-14 15:56:56 +01:00
Jon Koops
919d07c90b
Add RoutableTabs component for routed tabs (#1852) 2022-01-14 11:05:50 +01: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
agagancarczyk
1f45fb89aa
Grouped multiple credentials (#1700)
* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* removed unnecessary css

* css cleanup

* feedback fixes

* table refactor

* table refactor

* table refactor

* table refactor

* table refactor

* small css fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-01-10 10:31:50 +00:00
Aboullos
04e86e9b0b
Update Clients tests (#1824) 2022-01-08 10:27:57 +01:00
Jon Koops
ee29a308e8
Add overview for attributes groups to realm settings (#1822) 2022-01-07 13:56:27 +01:00
Erik Jan de Wit
2d5c66b108
removed look ahead / back regex for safari (#1829)
fixes: #1806
2022-01-07 08:28:19 +01:00
Erik Jan de Wit
f1c7e5ecb3
Create custom user federation providers page (#1745)
* Create custom user federation providers page

fixes: #1722

* added breadcrumb
2022-01-05 12:06:53 -05:00
Erik Jan de Wit
33a1769c39
Finish the policy pages of the authentication section (#1713)
* added WebauthnPolicy tab to Plicies

* change for passwordless

* added tests

* removed use of useToggle
2022-01-05 11:18:49 -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
Jon Koops
f0fc136672
Add toggle for user profile to realm settings (#1717) 2022-01-03 16:00:03 +01:00
Jon Koops
acaff98e10
Fix broken Cypress tests (#1802) 2022-01-03 08:11:07 +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
Erik Jan de Wit
e4eebaffed
removed global css (#1724)
fixes: #1723
2021-12-21 10:30:27 -05:00
Jenny
05af84f20f
Edit message bundle values (#1663)
* message bundles are now editable

* update alert text in tests

* delete realm settings test

* remove updatedMessageBundles

* remove unused usefetch

* update lodash import

* fix add locale test

* fix add bundle

* cypress tests

* fix data test id on button

* remove unused isAgtive prop

* fix lint errors

* unskip tests

* refactor KDT to Table with PaginatedToolbar

* unskip tests

* uncomment

* revert KDT

* remove unused onSelect

* Apply suggestions from code review

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

* PR feedback

* PR feedback

* remove useEffect

* fix localization test

* rewrite localization test

* switch test

* unskip

* force

* PR feedback

* package lock

* remove true

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-21 07:34:44 +01: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