Commit graph

80 commits

Author SHA1 Message Date
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
Erik Jan de Wit
bd8fc558d5
now checks if data could be loaded and throw error (#1265) 2021-09-30 10:58:48 +02:00
Jenny
642503e26a
Identity Providers(mappers): fix help text (#1212)
* fix help text for mapper types

* fix name field

* address PR feedback from mark and  add help text for all mapper types

* fix attribute importer help text
2021-09-24 16:27:44 -04:00
mfrances17
80ed33e832
add stored tokens readable to oidc (#1221) 2021-09-24 18:09:44 +02:00
Jenny
83d5624bf4
Identity Providers(Mappers): Edit mappers (#1140)
* rebase

dont fetch rolesbyID if mapperId

save attributes

fix cypress test

cypress test updates

fix cancel route

route fix with Erik

Apply suggestions from Jon's code review

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

pr feedback from jon

remove unused import

* usefindbytestid

* PR feedback from Jon

* fix tests

* fix save bug and feedback from Jon

* remove unnecessary type

* fix cypress test
2021-09-22 16:27:30 -04:00
mfrances17
e89a69047f
SAML ID provider cleanup (#1170)
* most fields fixed

* small issues

* all but one value working

* all SAML fields working

* add fixes from jon review
2021-09-17 13:51:43 -04:00
Jenny
a617c4ab12
Identity Providers(Mappers): Implement "Add Mapper" Screen/Functionality for OIDC and SAML IdPs (#1118) 2021-09-13 11:17:00 +02:00
Jenny
7414e174b6
set alias to read only in IdPs (#1144) 2021-09-13 11:15:04 +02:00
Jenny
2923a4c16f
Identity Providers(SAML): Adds data table for SAML mappers (#1058)
* data table for saml mappers

saml mapeprs tab

fix localized text

PR feedback from Jon

remove jsx fragment

remove comment

remove toolbar button

* try fixing cypress test

* remove optional chaining

* PR feedback from Jon

* more PR feedback from Jon

* rename variable and use find()

* useFetch() change as suggested by Jon

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

* rebase and use reset function

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-08 10:33:19 -04:00
dependabot[bot]
aba9e3d501
Bump typescript from 4.2.4 to 4.4.2 (#1081)
* Bump typescript from 4.2.4 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-06 09:48:53 +02:00
mfrances17
3f061efead
Adds routing for and fixes add new/save existing identity providers (#1105)
* fix routing and edit existing provider

* PR review comments
2021-09-02 13:45:17 -04:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00