Commit graph

91 commits

Author SHA1 Message Date
Erik Jan de Wit
48f68358f4
Refactored scroll form so to easier hide section (#2697) 2022-05-30 13:07:33 +02:00
Erik Jan de Wit
be000ff08c
Mappers are now sorted (#2700) 2022-05-30 11:23:12 +02:00
Erik Jan de Wit
dd0f747b45
change to only use alias in list (#2634)
fixes: #2620
2022-05-17 08:16:34 +02:00
Erik Jan de Wit
18c610d12e
Use display name instead of alias if set (#2622) 2022-05-12 10:07:02 +02:00
Erik Jan de Wit
ccdd762d6d
Added delete action (#2600) 2022-05-11 10:33:11 +02:00
Erik Jan de Wit
e1639f3283
Added permissions tab for idp (#2597) 2022-05-10 11:50:00 +02:00
Luca Leonardo Scorcia
1c23a0f1a7
Fix #2560 SAML Broker: Add option to validate IdP Entity ID (#2561) 2022-05-04 10:40:58 +02:00
Erik Jan de Wit
af0b704cf8
Load the different resource bundles from dynamically (#2409) 2022-04-27 17:29:57 +02:00
Jon Koops
d5f6aca82e
Replace text inputs with KeycloakTextInput (#2413) 2022-04-21 17:03:26 +02:00
Erik Jan de Wit
43c6564895
Changed to use the same form + rename (#2342) 2022-04-20 19:11:46 +02:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState (#2412) 2022-04-08 14:37:31 +02: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
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
ca350380fb
Change local development and ci to quarkus (#2115) 2022-03-06 16:25:37 +01:00
Erik Jan de Wit
d46263d6c6
changed to number input to allow for blank (#2138) 2022-02-24 17:12:54 +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
0065e9c7c2
fixing labels in case of SAML (#2111) 2022-02-21 14:55:02 +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
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
Jenny
42d8c31e84
fix mapper table bugs (#2093)
* fix mapperTableBugs

* use link with button

* add props
2022-02-15 14:42:04 -05:00
mfrances17
f9d3f9dfa7
Add priorities to User Federation (#2005) 2022-02-09 10:16:10 +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
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
67d2c8617f
Changed the idP mapper form to use the new Dynamic forms (#1641) 2021-12-14 23:46:19 +01:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +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
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
Jenny
0b73d51412
Realm settings(Client policies -> conditions): Update client-roles condition to match new design (#1532)
* wip client roles select field

WIP multivalued roles component

wip client roles select: multivalued rows component

wip client roles select

role multi select is working :)

update client roles select to use multivalued select as per new design

delete comments

remove unused css

update cypress tests

revert to original

remove duplicates

add isCreateable

* PR feedback

* small refactor

* change to use orderBy

* use localeCompare

* fix tests

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-11-22 07:41:43 -05:00
mfrances17
c8197a67d0
Show/hide principal attribute field correctly (#1561) 2021-11-18 16:34:02 +01:00
mfrances17
b071724329
fix pass subject and add 2 missing fields (#1554) 2021-11-18 15:12:41 +01:00
Jon Koops
ff4f58404a
Fix Cypress tests (#1569)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-11-18 13:55:21 +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
Jenny
1faec22b4e
IDPs: go to edit form after save() (#1464)
* go to edit form on create

* tests passing locally
2021-11-04 07:24:47 +01:00
Jon Koops
3e591da25e
Use route functions for navigation in identity-providers (#1475) 2021-11-04 07:23:31 +01:00
Erik Jan de Wit
9c48bb4d90
refactor + use new composite role api (#1399)
* refactor + use new composite role api

* fixed types

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* Update src/realm-roles/RealmRoleTabs.tsx

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

* code review comments

* removed duplicate type

* route

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* Update src/realm-roles/routes/RealmRole.ts

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

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* fix unused import

* fixed test

* fixed merge errors

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-01 13:29:52 +01:00
Erik Jan de Wit
48a006e1fa
put shared logic into common component + fixes (#1415)
* put shared logic into common component + fixes

fixes: #1398

* removed conflicted name

* code review

* pr review comments

* update admin-client for better retrun types import
* use image file instead of encoded data:uri

* fix package lock

* is typechecked to be string
2021-11-01 08:49:23 +01:00
mfrances17
861ed39dc1
Fixes for SAML identity provider principal type and allow create fields (#1377)
* principal type fixed

* add allow create switch

* change principalType condition to match value
2021-10-29 12:41:46 -04:00
Erik Jan de Wit
c96450ef61
make all routes lazy (#1445) 2021-10-29 18:11:06 +02:00
Jenny
b80f0a3018
OIDC mapper bug fixes (#1439)
* mapper bug fixes

* change to toUpperCase()

* update data test id for regex switch

* fix cypress test
2021-10-28 10:51:26 -04:00
mfrances17
8f5fe27647
change clock skew to num (#1379) 2021-10-27 12:07:37 -04:00
Jon Koops
7c4f0149b2
Normalize regex attribute values before saving (#1381) 2021-10-20 17:53:44 +02:00
Jenny
b942efc2aa
Delete mapper (#1307) 2021-10-07 12:08:29 +02:00
Jenny
8917744c04
Identity providers(mappers): update form fields for all Social mapper types (#1304)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-06 13:04:17 +02:00
Jenny
ed7ba908ba
Identity providers(mappers): update "create" form fields for all OIDC mapper types (#1286)
* correct form fields for UsernameTemplateImporter

wip tests

add username template importer type functionality

add create/edit functionality for username template importer SAML provider type

changes to helpText and title text

fix help text for mapper types

correct form fields for UsernameTemplateImporter

add fields

PR feedback and fix tests

fix test

add all saml mapper type fields

wip SAML mapper type fields

first draf SAML mapper type fields

tests

oidc changes with forms

tests

remove unused func

* fix tests

* remove unused vars
2021-10-04 11:34:02 -04:00
Jenny
3b677c6e8e
Identity providers(mappers): update "create" form fields for all SAML mapper types (#1282) 2021-10-01 17:03:38 +02:00
Jon Koops
eb40cabf03
Use type-safe alternative for links (#1280) 2021-10-01 12:52:45 +02:00
Jenny
4d5c8f3f18
Identity Providers(Mappers): Add create/edit functionality for mappers of type Username Template Importer (#1248) 2021-09-30 11:26:36 +02:00