Commit graph

300 commits

Author SHA1 Message Date
Erik Jan de Wit
6a60d33d92
only flatten array when it's length is one (#24956)
fixes: #24927

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-27 12:52:37 +01:00
Jon Koops
90f4fbe4e5
Fix search in group picker dialog (#25009)
Closes #25008

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-11-24 14:29:22 +00:00
Erik Jan de Wit
9be83e01c4
should be disabled when mode = UNSYNCED (#24911)
fixes: #24261

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-24 15:24:06 +01:00
Erik Jan de Wit
c0c0a80e21
fixed possible undefined enabled flag (#24915)
fixes: #23841

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-24 12:53:37 +01:00
Hynek Mlnarik
5ec394b258 Transient sessions: UX improvements
Closes: #24279

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2023-11-21 08:31:56 +01:00
dependabot[bot]
9c37cdd0ac
Bump vite from 4.5.0 to 5.0.0 in /js (#24806)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@5.0.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 23:41:25 +01:00
dependabot[bot]
f550ac9035
Bump prettier from 3.0.3 to 3.1.0 in /js (#24724)
* Bump prettier from 3.0.3 to 3.1.0 in /js

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [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/3.0.3...3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix linting issues

Signed-off-by: Jon Koops <jonkoops@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-11-14 17:59:24 +00:00
Erik Jan de Wit
89abc094d1
userprofile shared (#23600)
* move account ui user profile to shared

* use ui-shared on admin same error handling

also introduce optional renderer for added component

* move scroll form to ui-shared

* merged with main

* fix lock file

* fixed merge error

* fixed merge errors

* fixed tests

* moved user profile types to admin client

* fixed more types

* pr comments

* fixed some types
2023-11-14 08:04:55 -03:00
Erik Jan de Wit
fe7833c957
Load Admin Console localizations from resource bundles (#24316)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-13 12:39:46 -05:00
Oliver
57669d556a
Translate User Profile Attribute Group (#24445)
Translate User Profile Attribute Group Name and Description

Fixes keycloak#24431

Co-authored-by: agagancarczyk <4890675+agagancarczyk@users.noreply.github.com>
2023-11-07 08:01:39 -05:00
agagancarczyk
0c6ed85579
fixed a11y violations (#24530)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-11-06 10:49:25 +01:00
Jon Koops
bd80f208fa
Remove leftover namespaces from translation keys (#24486) 2023-11-02 16:03:47 +00:00
Jon Koops
222db659f4
Add 'Email Verified' checkbox if user profile is enabled (#24463) 2023-11-01 15:11:50 +01:00
Jon Koops
b0c22ce357
Improve error handling for Fetch calls (#24460)
Closes #24293
2023-11-01 11:47:23 +00:00
Justin Tay
3ff0476cc3 Allow customization of aud claim with JWT Authentication
Closes #21445
2023-10-31 11:33:47 -07:00
Oliver
8ff76694a2
Always render multi valued inputs for multi valued input types. (#24359)
Closes #24311
Closes #24318

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-31 12:12:07 +01:00
rmartinc
7deb4ca545 Group count and PartialExport permission fixes
Closes https://github.com/keycloak/keycloak/issues/12171
2023-10-31 01:40:21 -07:00
Jon Koops
1145568324
Add some type-safety enhancements to AttributesTab (#24142) 2023-10-30 14:57:07 +01:00
Jon Koops
357f3b2978
Use default namespace for i18next (#24322) 2023-10-27 16:25:59 +00:00
Erik Jan de Wit
487ecd7380
add missing translations (#24347) 2023-10-27 13:32:16 +02:00
Alice
69497382d8
Group scalability upgrades (#22700)
closes #22372 


Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
2023-10-26 16:50:45 +02:00
agagancarczyk
54a081832a
Additional tests for User Profile, Attributes & Realm-Settings/Login configs (#24243)
* added some user profile tests

* added some user profile tests

* added more tests for user profile and attributes

* improved tests for user profile

* removed videos

* refactor and improvement

* improved tests

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-10-26 14:22:43 +01:00
Hynek Mlnarik
c036980c37 Add TRANSIENT_USERS feature flag 2023-10-25 12:02:35 +02:00
Hynek Mlnarik
a668c2cb2b Support for transient brokering in admin console
Part-of: Add support for not importing brokered user into Keycloak database

Closes: #11334
2023-10-25 12:02:35 +02:00
Erik Jan de Wit
fb6af4d301
fixed count for pagination (#24034)
fixes: #23709
2023-10-24 08:00:50 -04:00
kaustubh-rh
66b0fd0c88
Fix for issue #24187 (#24244) 2023-10-24 13:06:55 +02:00
Thomas Darimont
e567210ed1
Add dedicated feature flag for oauth device grant flow (#23892)
Closes #23891
2023-10-24 10:09:26 +02:00
jackie-linz
03a8f05d14
fix exception when user does not have view-realm role (#24036)
Closes #23954
2023-10-23 14:35:31 -04:00
Jon Koops
fefe2f57ae
Use JavaScript private class features (#24054)
Uses JavaScript [private class features](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields) over TypeScript's `private` keyword. Also introduces some ESLint configuration to enforce this rule throughout the project.
2023-10-23 14:12:55 -04:00
Erik Jan de Wit
bafc6da6b2
added default field type (#24172)
* added default field type

default will now render a multiline input
which makes more sense then a multi select
with no options

fixes: #23911

* changed to only render multi line when needed
2023-10-20 13:07:55 -04:00
Erik Jan de Wit
29de841883
small refactor on the scroll form (#24152)
after this refactor it can be moved into ui-shared
2023-10-20 13:40:16 +02:00
Artur Baltabayev
4c25264c57
Realm localization texts are now sorted by key. (#23378)
Closes #20876
2023-10-20 12:33:36 +02:00
himanshi1099
b8eb051adb
Fix for issue #24035 (#24154)
Co-authored-by: Himanshi Gupta <higupta@higupta.remote.csb>
2023-10-20 10:18:29 +00:00
Erik Jan de Wit
c7183049c8
removed some remnant namespaces usage (#23669) 2023-10-19 14:07:48 +02:00
Erik Jan de Wit
b7ce04eb50
Make dropdown groups unique (#24137)
fixes: #24067
2023-10-19 10:17:38 +00:00
Erik Jan de Wit
a2dd0f31c5
multiple values are valid (#24050)
fixes: #24032
2023-10-18 20:33:44 -04:00
Jon Koops
4291f4b01b
Enhance user profile attribute form UX (#24083)
Enhances the user experience for the create and edit form for User Profile attribute by making the following changes:

- Prevents the scopes from being persisted if an attribute can always be shown.
- Hides the scopes if 'Always' is selected, as the control is not interactive.
- Sets the attribute to be editable by admins by default.

Closes #24081
Closes #23790

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-10-18 18:24:30 +02:00
Pedro Igor
8cfd9ba5aa
Do not show empty annotation when creating attribute group (#23922)
Closes #23789
2023-10-18 10:33:52 +00:00
Stan Silvert
dfe64f6271
Allow full use of Authorization tab for anyone with manage-authorization (#23983)
* Allow full use of Authorization tab for anyone with manage-authorization
access.

* Allow export with manage-authorization role.

* manage-authorization makes more sense for the subtabs
2023-10-17 12:39:27 -04:00
Erik Jan de Wit
427cd4b290
removed invalid RealmName check (#24001)
back to having the server check this
now that we have #23667 there are no issues with spaces
2023-10-17 15:20:12 +02:00
Erik Jan de Wit
13207aabac
Encode parameters for React Router links in URL-safe manner (#23667)
Closes #22600

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-17 07:36:26 +00:00
Erik Jan de Wit
1cd20e0e43
always allow browsing as we don't know the subgroups (#23657)
fixes: #23582
2023-10-16 19:20:12 +00:00
Charley Wu
31759f9c37
WebAuthn support for native applications. Support custom FIDO2 origin validation (#23156)
Closes #23155
2023-10-13 15:25:10 +02:00
Erik Jan de Wit
0624ad5b0e
added id when the object is still new (#23664)
fixes: #22890
2023-10-10 08:00:50 -04:00
Martin Bartoš
21a23ace1d Mark required config properties for LDAP Mappers
Closes #23685
2023-10-09 08:46:57 +02:00
osorionicolas
990a54dce5
Update GroupAttributes to refresh fields on group change (#23675)
Closes #23654
2023-10-08 17:40:20 +02:00
Pedro Igor
290bee0787
Resolve several usability issues around User Profile (#23537)
Closes #23507, #23584, #23740, #23774

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-06 10:15:39 -03:00
potterhe
73432f86ec
fix userform lastname input can not get focus (#23478)
Closes #23481
2023-09-25 07:18:11 +00:00
Erik Jan de Wit
c346786491
Remove the last of the namespaces for localization (#23261)
Closes #23261
2023-09-25 09:06:56 +02:00
Erik Jan de Wit
a584ff94a3
changed to validators (#23250)
fixes: #23180
2023-09-25 07:19:54 +02:00
agagancarczyk
d8ff73e34f
Fixed creating user (#23484)
Closes #23327
2023-09-22 21:46:21 +02:00
osorionicolas
48a0b3436d
Fix issue with groups search not sending the search input in the request (#23452)
Closes #23341
2023-09-22 14:35:11 +00:00
osorionicolas
949fb47326
Set search as case-insensitive for authentication steps (#23406)
Closes #21989
2023-09-22 08:41:32 +00:00
Stan Silvert
2463c6291d
Call correct SAML key download API (#23375) 2023-09-20 14:53:57 -04:00
rmartinc
f8a9e0134a Ensure that the EncryptedKey is passed to the DecryptionKeyLocator for SAML
Closes https://github.com/keycloak/keycloak/issues/22974
2023-09-20 15:09:18 +02:00
agagancarczyk
59160e50e2
Fixes help texts for HelpItem in Admin-UI (#23371)
* fixed help texts for authorization

* fixed help texts for client scopes

* fixed help texts for clients

* fixed help texts for user federation

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-09-20 09:52:43 +01:00
agagancarczyk
2ec3f33d5b
fixed help texts for identity providers (#23367)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-09-20 08:28:28 +01:00
Erik Jan de Wit
f4c8ded5f6
Removed namespaces from messages (#23205) 2023-09-14 11:01:15 +02:00
Erik Jan de Wit
088abcf1d2
fix user profile form saving (#23039)
fixes: #22982
2023-09-14 08:56:13 +02:00
Erik Jan de Wit
90a88976b6
this removes the prefixes for (#23137)
client-scopes
client-scopes-help
clients-help
clients
working towards fixing #23094
2023-09-13 10:05:17 -04:00
Erik Jan de Wit
0789d3c1cc
better features overview (#22641)
Closes #17733
2023-09-12 16:03:13 +02:00
Thomas Darimont
3908537254
Show expiration date for certificates in Admin Console (#23025)
Closes #17743
2023-09-12 07:56:09 -04:00
Erik Jan de Wit
fc5565ec08
add stringify to MultiLineInput (#23086)
fixes: #22937
2023-09-12 09:58:07 +00:00
Erik Jan de Wit
53ad5cd116
fixed ip address filter (#22971)
fixes: #22923
2023-09-11 13:45:18 +02:00
Erik Jan de Wit
564441899b
merge all namespaces into one (#22949)
* merge all namespaces into one

added fallback namespace to the configuration to minimize
changes to the keys

* small fix

* Fix the broken `OverridesBackend`

* remove stray console log

* restore ns argument

* PR review

* merge main

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-09-08 15:17:17 +02:00
kaustubh-rh
bc551f335a
Not-working link during adding a SAML Identity provider (#23093) 2023-09-08 09:12:15 -04:00
rmartinc
8887be7887 Add a new identity provider for LinkedIn based on OIDC
Closes https://github.com/keycloak/keycloak/issues/22383
2023-09-06 16:13:31 +02:00
Erik Jan de Wit
6830735ed9
add stringify for custom idp (#22699) 2023-09-05 13:42:30 +02:00
Jon Koops
a60849a86c
Add correct translation key for temporary password reset help text (#22929) 2023-09-04 10:31:40 +00:00
Jon Koops
bb4495adb7
Centralize user form to user representation conversion (#22851) 2023-09-04 06:55:34 +02:00
I G Prasad
f99c82cd43
Update Redirect URI when alias changes (#22771)
Closes #22549
2023-09-02 11:26:25 +00:00
Erik Jan de Wit
1b722477a2
Add tests to the Account Console for user profile (#22576) 2023-08-31 11:32:39 +02:00
mposolda
57e51e9dd4 Use an original domain name of Kerberos Principal in UserModel attribute instead of configured value of Kerberos realm in User federation
closes #20045
2023-08-30 13:24:48 +02:00
Erik Jan de Wit
2a6b4d1210
use inputOptionsLabels when they exist (#22451)
* use inputOptionsLabels when they exist

fixes: #22432

* fixed type
2023-08-30 07:22:34 +00:00
Erik Jan de Wit
82a94cb12b
Add permission check around clipboard access (#22781)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-08-29 11:50:38 +00:00
Erik Jan de Wit
248bb17c28 PR review comments 2023-08-29 08:14:47 -03:00
Erik Jan de Wit
99acbcdd00 Update js/apps/admin-ui/src/realm-settings/EmailTab.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-08-29 08:14:47 -03:00
Pedro Igor
ea3225a6e1 Decoupling legacy and dynamic user profiles and exposing metadata from admin api
Closes #22532

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-08-29 08:14:47 -03:00
Jon Koops
c78359bc07
Add missing translation for theme select placeholder text (#22761) 2023-08-28 14:56:40 +00:00
agagancarczyk
35c3b409d5
fixed removing attributes (#22693)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-08-25 10:34:31 +02:00
Stan Silvert
65d9099e86
Make base theme hidden for admin and account UIs. (#22672)
* Make base theme hidden for admin and account UIs.

* Fix test.
2023-08-24 15:49:05 -04:00
Jon Koops
7f2b2fe83a
Upgrade Prettier to the latest version (#22664) 2023-08-24 13:14:07 +00:00
Erik Jan de Wit
f4986cdd1e added null check for empty policies 2023-08-21 17:25:49 -03:00
Erik Jan de Wit
6d85ceef25
added better rendering to account (#22297)
* added better rendering to account

fixes: #21699

* merged in changes

* re-added test
2023-08-15 15:22:13 +02:00
Erik Jan de Wit
fa3d1a6345
added link for resource (#22333)
fixes: #22332
2023-08-15 07:43:34 -04:00
Erik Jan de Wit
8102ddb7b1
also vertical align the spinner (#22310) 2023-08-14 16:52:44 -04:00
Erik Jan de Wit
874d2063b8
only add realm access to the current realm (#21554)
fixes: #21553
2023-08-10 12:43:15 +02:00
Erik Jan de Wit
2b8202af72
fix pagination (#22287)
fixes: #21949
2023-08-09 12:50:27 -04:00
Erik Jan de Wit
c73f4a9730
added create option to multi select user profile (#22269)
* removed nested form

* added create option to multiselect
2023-08-09 12:49:02 -04:00
Erik Jan de Wit
82808e81f2
keep config if it exists (#22247)
fixes: #21960
2023-08-09 15:43:01 +02:00
Erik Jan de Wit
357ebafa16
added alias to view (#22219) 2023-08-09 15:42:38 +02:00
Erik Jan de Wit
66262d0055
no longer use subgroup cache (#21783)
* no longer use subgroup cache

fixes: #21693

* pr review
2023-08-09 07:26:47 -04:00
Erik Jan de Wit
33aab79d9d
now uses save from edit user (#21809)
fixes: #21719
2023-08-09 07:26:04 -04:00
Stan Silvert
2dec99c443
Don't render fed link w/o view-realm access. (#22265)
Fixes #22175
2023-08-07 15:37:25 -04:00
Erik Jan de Wit
339619816a
lazy populate the treeview for groups (#21520)
* added lazy parameter

fixes: #19954

* changed to only have the parameter

* fixed merge errors

* removed the `lazy` and now add subgroups on select

* lint

* fixed prettier

* fixed nullpointer

* fixed member tab
2023-08-04 20:19:34 +00:00
Stan Silvert
fa5ddf97ac
Allow assign realm roles with query-users access. (#22097)
Fixes #22079
2023-08-03 15:34:57 -04:00
rmartinc
05bac4ff0e Remove option Nerver Expires for tokens in Advanced OIDC client configuration
Closes https://github.com/keycloak/keycloak/issues/21927
2023-08-03 12:16:08 +02:00
Ricardo Martin
a8bca522c1
Fix issue with access tokens claims not being imported using OIDC IDP Attribute Mappers (#21627)
Closes #9004


Co-authored-by: Armel Soro <armel@rm3l.org>
2023-08-02 09:36:50 +02:00
Andreas Blättlinger
c62f04e7c9
Allow creation of policy on permission screen (#21909)
Closes #21908
2023-08-01 11:30:06 +02:00
Jon Koops
fa592f882a
Ensure mounted state in useSetTimeout() remains consistent (#22025) 2023-07-28 11:41:40 +02:00