Commit graph

456 commits

Author SHA1 Message Date
Erik Jan de Wit
ea3624291a
Change language name to own language (#25082)
when picking you own locale this makes sense
but when configuring a realm for others it does not
changing it so that language names are in the users language

fixes: #24611

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-30 13:35:01 +01:00
Pedro Igor
c7f63d5843 Add options to change behavior on how unmanaged attributes are managed
Closes #24934

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-11-30 06:58:21 -03:00
rmartinc
16afecd6b4 Allow automatic download of SAML certificates in the identity provider
Closes https://github.com/keycloak/keycloak/issues/24424

Signed-off-by: rmartinc <rmartinc@redhat.com>
2023-11-29 18:03:31 +01:00
Erik Jan de Wit
cb4008e8d6
removed status row and use badge (#24683)
fixes: #24470

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-28 17:13:36 +01:00
Hynek Mlnařík
c03c2e953a
Support OR condition for forms + authz (#24879)
Closes: #24586

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2023-11-28 08:07:11 -05:00
Tero Saarni
ab3758842c
Add configuration option for LDAP referral (#24852)
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2023-11-28 14:06:34 +01:00
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
Stan Silvert
12eb81580e
Allow view creds tab if view fine-grained permission (#22007)
Fixes #22002
2023-07-27 12:45:31 -04:00
Jon Koops
4932494a9c
Use new Root API to render Admin UI (#21102) 2023-07-25 18:56:44 +02:00
Jon Koops
82f28f3bae
Fix intermittent failures of the users tests (#21924) 2023-07-25 13:32:01 +02:00
Takashi Norimatsu
0ddef5dda8
DPoP support 1st phase (#21202)
closes #21200


Co-authored-by: Dmitry Telegin <dmitryt@backbase.com>
Co-authored-by: mposolda <mposolda@gmail.com>
2023-07-24 16:44:24 +02:00
dependabot[bot]
e1d1678d3a
Bump eslint-plugin-react from 7.32.2 to 7.33.0 in /js (#21858)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.32.2 to 7.33.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.32.2...v7.33.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  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>
2023-07-24 14:24:27 +00:00
Takashi Norimatsu
2efd79f982 FAPI 2.0 security profile - supporting RFC 9207 OAuth 2.0 Authorization Server Issuer Identification
Closes #20584
2023-07-24 09:11:30 +02:00
Erik Jan de Wit
262cc33ebd
fixes the details page (#21776)
fixes: https://github.com/keycloak/keycloak/issues/15344#issuecomment-1636965834
2023-07-20 18:15:03 +00:00
Thomas Darimont
2b91b5ba98
Add "created at" column to user credentials table in admin ui (#21831)
Fixes #21746
2023-07-20 08:07:26 +02:00
Erik Jan de Wit
d82f9e28cc
use multi select if value is an array (#21808)
fixes: https://github.com/keycloak/keycloak/issues/20837#issuecomment-1639970579
2023-07-19 15:18:07 +02:00
Erik Jan de Wit
0481ea6bda
render components based on the annotations (#21180)
* render components based on the annotations

* merge fix
2023-07-18 13:40:53 +02:00
Erik Jan de Wit
92c64e74f4
fix for validators that don't have config (#21579)
fixes: #21528
2023-07-18 09:27:08 +00:00
Erik Jan de Wit
5ee89ea15a
made added groups browsable (#21588)
fixes: #21173
2023-07-18 10:30:04 +02:00
Erik Jan de Wit
e24d51edca
only use the names of the realms (#21576)
* only use the names of the realms

fixes: #21555

* fixed merge error

* fixed test

* removed braces from arrow function
2023-07-18 09:52:06 +02:00
Andreas Blättlinger
cd732ae44f
Allow navigation to policy on permission screen (#21411)
Closes #20884
2023-07-17 13:45:50 +02:00
Jon Koops
209e9b5307
Upgrade React Router dependencies to latest version (#21288) 2023-07-11 17:06:54 +01:00
Jon Koops
153d1a9841
Upgrade Prettier to the latest version (#21601) 2023-07-11 14:03:21 +00:00
Erik Jan de Wit
982bac9db6
Fall back to IdentityProvider component type if present (#21320)
Closes #15344
2023-07-11 12:41:52 +00:00
agagancarczyk
01e861a711
Fixed a11y violations for clients (#21310)
* fixed a11y violations for clients

* feedback

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-07-11 08:04:32 -04:00
Erik Jan de Wit
2c51b67b24
use group instead of name (#21475)
fixes: #21438
2023-07-11 13:05:31 +02:00
Erik Jan de Wit
561bd65b4a
convert form will flatten the value (#21478)
fixes: #21234
2023-07-10 09:55:07 +02:00
Tirth Bharatiya
b8d1a9427f
Prevent email settings from being erased when changing realm settings (#21388)
Closes #19746
2023-07-07 09:48:20 +00:00
Pedro Igor
c3c544b907 Wrong message for sync actions on LDAP role mapper
Closes #21491
2023-07-06 10:06:49 -03:00
Thomas Darimont
637fa741b0
Align naming of OTP policy window setting with actual semantics (#20469) (#21316)
Closes #20469
2023-07-04 12:41:21 +02:00
Erik Jan de Wit
587c9d9470
unregister fields on mapper type switch (#21361)
fixes: #21358
2023-07-03 12:22:19 +02:00
Stan Silvert
8eb631b9d9
Allow Client->ClientScopes tab w/ view-clients (#21331)
Fixes #21120
2023-07-03 12:21:42 +02:00
agagancarczyk
0fc4d6120b
Fixed minor accessibility violations for Users (#21353)
* fixed a11y violations for Users

* fixed a11y violation on User Consents tab

* fixed a11y violation on User Consents tab

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-30 18:24:35 +01:00
Daniele Martinoli
e2ac9487f7
Conditional login through identity provider (#20188)
Closes #20191


Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2023-06-29 18:44:15 +02:00
agagancarczyk
b9c11c0fd4
fixed moderate a11y issues for identity providers (#21262)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-29 13:00:06 +01:00
agagancarczyk
a8bea49451
Fixed moderate and critical a11y issues for realm settings (#21267)
* Fixed moderate and critical a11y issues for realm settings

* improved with patternfly colour

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-29 12:59:52 +01:00
agagancarczyk
ff40c3d092
Fixed a11y issues for groups (#21286)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-29 12:59:22 +01:00
agagancarczyk
f67ed6e7fe
fixed a11y issues for clients list (#21255)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-29 12:59:07 +01:00
Hynek Mlnarik
b8149d66ca Remove ldapsOnly (console and docs)
Closes: #9313
2023-06-28 08:30:09 +02:00
Erik Jan de Wit
3a3907ab15
changed to use ConfiguredProvider instead (#21097)
fixes: #15344
2023-06-27 08:00:32 -04:00
Jon Koops
c026884734
Use a different API method to move groups (#20820)
Closes #20615

Co-authored-by: daniel-brannon <daniel.brannon@ososlo.com>
2023-06-23 21:42:13 +02:00
Stan Silvert
080b6a7981
Allow view client roles tab without view-realm access (#21142)
* Allow view client->roles tab with view-clients access.
Fixes #21047

* Fix role deleted success message.
2023-06-23 07:04:37 -04:00
mposolda
dc3b037e3a Incorrect Signature algorithms presented by Client Authenticator
closes #15853

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-06-21 08:55:58 +02:00
Jon Koops
48f83f71d9
Upgrade TypeScript to latest version (#21077) 2023-06-19 15:53:14 +00:00
Jon Koops
dca71d84c3
Update i18next and react-18next to the latest version (#21070) 2023-06-19 14:59:21 +00:00
Erik Jan de Wit
0ca9b21765
added default values for user profile annotations (#20949)
* initial version of the "known" annotation picker

* fixed empty value

* add input type select when validator is options

* fixed test

* Update js/apps/admin-ui/public/locales/en/common.json

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

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-06-19 10:06:40 +02:00
Erik Jan de Wit
39e3820e9e
use array instead of first (#20964)
* use array instead of first

fixes: #19638

* pr review
2023-06-19 06:59:45 +00:00
Erik Jan de Wit
c87f9a0686
move jumplinks to the top if there no room (#20952)
fixes: #20951
2023-06-14 11:10:21 +02:00
Erik Jan de Wit
c0ac409974
fixed pagination on the sessions tab (#20865)
* fixed pagination on the sessions tab

fixes: #20835

* changed to use steam
2023-06-14 08:25:27 +00:00
Erik Jan de Wit
30a0c31153
remove attributes form when use profile enabled (#20923)
When user profile is activated the attributes tab is useless

towards fixing: #20837
2023-06-14 08:02:12 +02:00
Jon Koops
c998193797
Pass client id for Account and Admin consoles through environment (#20961) 2023-06-13 16:29:37 +00:00
Andreas Blättlinger
35736b86ae
User Attribute Search (#19574)
Co-authored-by: Andreas Blaettlinger <bln1imb@bosch.com>
2023-06-12 14:17:54 +02:00
Erik Jan de Wit
4b3733de2e
little wrapper around the time selector (#20881)
this makes it easier to use
2023-06-12 12:53:29 +02:00
Erik Jan de Wit
c771890da8
added test saml advanced tab (#20880) 2023-06-12 12:52:45 +02:00
Erik Jan de Wit
9c9cd4cf21
increased policy row with (#20816)
fixes: #20674
2023-06-12 12:51:37 +02:00
Erik Jan de Wit
e750ad71de
added fix for url encoded paths (#20813)
fixes: #20782
2023-06-12 12:51:19 +02:00
Erik Jan de Wit
911663b65c
use admin client instead of fetch (#20774) 2023-06-12 12:50:53 +02:00
Erik Jan de Wit
db315b59f6
use ui ext groups endpoint (#20772)
so that we have filtering for fine grained groups
fixes: https://github.com/keycloak/keycloak/issues/19655#issuecomment-1573350358
2023-06-12 12:50:26 +02:00
Erik Jan de Wit
a61b1e7fb2
use id instead of name (#20717)
fixes: #20694
2023-06-12 12:50:03 +02:00
Erik Jan de Wit
8d2dbbe6ad
added missing "allow ecp flow" field (#20713)
fixes: #20673
2023-06-12 12:46:03 +02:00
Erik Jan de Wit
cbed5849f5
join title and expand section together (#20590)
* join title and expand section together

fixes: #20329

* but expandable inside <li>
2023-06-06 07:33:02 +02:00
Stan Silvert
b63fccb062
Fix required getting toggled on when creating new UP attribute. (#20735)
Fixes #20536
2023-06-02 16:12:47 -04:00
Jon Koops
cd9dce68da
Add eslint-plugin-react-hooks to enforce the Rules of Hooks (#20707) 2023-06-01 11:56:06 +02:00
Pedro Igor
8aeee928e8
Allow configuring the referrer policy (#19917)
* Allow configuring the referrer policy

Closes #17288

* fixed indentation

---------

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-05-30 12:27:12 -04:00
Erik Jan de Wit
c187c17945
navigate back to list when deleted (#20591)
fixes: #20370
2023-05-30 14:21:37 +02:00
Erik Jan de Wit
1124681603
added should dirty (#20647)
fixes: #20506
2023-05-30 08:08:37 -04:00
Erik Jan de Wit
34e56ccd81
use the first value from options as default (#20589)
fixes: #20379
2023-05-30 08:02:47 -04:00
Erik Jan de Wit
df5a823738
use display header when set (#20553) 2023-05-30 13:47:41 +02:00
Erik Jan de Wit
55e3e26f2e
removed need to query all groups (#20552)
* removed need to query all groups

fixes: #20489

* code review
2023-05-30 13:35:28 +02:00
Stan Silvert
88bb5977cd
Fix User Event Types not visible when 'Save events disabled` (#20581)
Fixes #20503
2023-05-30 06:36:46 -04:00
Erik Jan de Wit
00df57df3b
moved filter to it's own component (#20286)
fixes: #19999
2023-05-26 12:06:45 +00:00
Erik Jan de Wit
9dabbe951e
added error on password confirm on password change (#20236)
* added error on password confirm on password change

fixes: #16577

* Update js/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx

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

* linting

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-05-26 11:57:57 +02:00
Erik Jan de Wit
8a6790be1d
be sure to only select one if type is not multi (#20410)
fixes: #20304
2023-05-25 13:01:30 +02:00
Erik Jan de Wit
c86254972b
remove fields when standard flow disabled (#20271)
fixes: #20194
2023-05-25 09:18:00 +00:00
Andreas Blättlinger
828a7ae874
19847 - Fix Split UsersSection into components for better maintainability (#20539)
Co-authored-by: Andreas Blaettlinger <bln1imb@bosch.com>
2023-05-24 10:05:00 -04:00
Erik Jan de Wit
0a46930962
remove styles and use css modules (#20018) 2023-05-24 12:11:06 +00:00
Erik Jan de Wit
9943c977de
use addError so we see the message (#20420)
fixes: #20401
2023-05-18 08:34:11 +02:00
danielFesenmeyer
d543ba5b56 Consistent message resolving regarding language fallbacks for all themes
- the prio of messages is now as follows for all themes (RL = realm localization, T = Theme i18n files): RL <variant> > T <variant> > RL <region> > T <region> > RL <language> > T <language> > RL en > T en
- centralize the message resolving logic in helper methods in LocaleUtil and use it for all themes, add unit tests in LocaleUtilTest
- add basic integration tests to check whether realm localization can be used in all supported contexts:
  - Account UI V2: org.keycloak.testsuite.ui.account2.InternationalizationTest
  - Login theme: LoginPageTest
  - Email theme: EmailTest
- deprecate the param useRealmDefaultLocaleFallback=true of endpoint /admin/realms/{realm}/localization/{locale}, because it does not resolve fallbacks as expected and is no longer used in admin-ui v2
- fix locale selection in DefaultLocaleSelectorProvider that a supported region (like "de-CH") will no longer selected instead of a supported language (like "de"), when just the language is requested, add corresponding unit tests
- improvements regarding message resolving in Admin UI V2:
  - add cypress test i18n_test.spec.ts, which checks the fallback implementation
  - log a warning instead of an error, when messages for some languages/namespaces cannot be loaded (the page will probably work with fallbacks in that case)

Closes #15845
2023-05-17 15:00:32 +02:00
Stan Silvert
74dd370906
Allow changing admin console logo and favicon from theme.properties (#20201)
* Allow changing admin console logo and favicon from theme.properties
Fixes #19968

* Make isRunningAsTheme the last env prop.
2023-05-17 07:53:38 -04:00
Stan Silvert
e5b3c92b42
Fix otp on credentials page. (#20295)
Fixes #20258
2023-05-17 07:33:14 -04:00
Erik Jan de Wit
67f401b029
added default value back when not new (#20235)
fixes: #19852
2023-05-17 10:05:44 +02:00
Andreas Blättlinger
ab8366fb7e
Split UsersSection into components for better maintainability (#19848)
Closes #19847
2023-05-15 17:18:45 +02:00
Jon Koops
04ab848003
Rework merging of message bundles for localization of Admin Console (#20183)
Closes #20182
2023-05-11 14:23:10 -04:00
Erik Jan de Wit
92f26b9f7e
empty array instead of null (#20104)
fixes: #20068
2023-05-11 18:20:11 +02:00
Erik Jan de Wit
a2bdfab9c5
added min length > 0 check to required (#20234)
fixes: #20096
2023-05-11 18:17:24 +02:00
Erik Jan de Wit
4326a46dd0
add 'seconds' unit if value not valid (#20240)
fixes: #17165
2023-05-11 18:10:15 +02:00
Jon Koops
64a65bd0aa
Force user to authenticate before bootstrapping Admin Console (#20251) 2023-05-10 08:20:49 +02:00
rmartinc
025778fe9c SSSD User Federation integration for quarkus distribution
Closes https://github.com/keycloak/keycloak/issues/16165
2023-05-09 11:32:52 +02:00
Erik Jan de Wit
e50580c465
use event id instead of name (#20109)
* use id instead of name to add event

* "translated" ids to name
2023-05-05 11:54:48 +02:00
Erik Jan de Wit
c4186100a5
on the roles page we have paging on others not (#20102)
fixes:  #19981
2023-05-03 18:10:18 +02:00
Jon Koops
cd6cf45444
Move useFetch() to it's own utility file (#20129) 2023-05-03 15:40:27 +00:00
Jon Koops
483246e24b
Reference admin client from module instead of context (#20118) 2023-05-03 13:51:02 +00:00
Jon Koops
228da0e29a
Refactor initalization of Keycloak JS in Admin Console (#20100) 2023-05-03 13:27:27 +02:00
Jon Koops
20772dbdde
Rename 'resources' directory to 'locales' (#20095) 2023-05-03 09:38:02 +02:00
Stan Silvert
51b0eec685
Fix custom userFed that doesn't implement CredentialInputUpdater (#20062)
* Fix custom userFed that doesn't implement CredentialInputUpdater
Fixes #19491

* Cleanup from Jon's review

* Specify dependency

* Revert "Specify dependency"

This reverts commit a52d5d993aa1f9cf4503e6101eb49c20b27b38fc.
2023-05-02 17:09:44 -04:00
Erik Jan de Wit
e8ed1abda7
Added missing fields when dynamic scope is enabled (#19984)
Closes #19865
2023-05-02 11:46:57 +02:00
Erik Jan de Wit
9e8f5bb45c
added check for undefined (#19949)
fixes: #19883
2023-04-27 08:51:16 +02:00
Erik Jan de Wit
b22801c8dd
Made tree view paging based on count query (#19758) 2023-04-26 14:21:43 +02:00
kaustubh-rh
035fdc4047
Make JavaScript authorization policy read-only (#19594)
Closes #19532
2023-04-26 08:18:43 +00:00
Erik Jan de Wit
1f51ddb86e
Use Admin API extension to group sessions (#19837)
Fixes #19673
2023-04-26 08:17:58 +00:00
Jon Koops
3026d8fad2
Ensure correct options are displayed for 'Archive format' (#19914) 2023-04-24 17:33:15 +02:00
Erik Jan de Wit
04301422d1
add validations to validator when creating new (#19872) 2023-04-21 14:29:06 +02:00
Erik Jan de Wit
399bd42124
Disable stringify by default and enable it for authorization (#19871) 2023-04-21 11:15:42 +00:00
Erik Jan de Wit
3b65f1163d
issue 19582 (#19749)
* fixed paginate subgroups + nav

* render matched sub groups and fix pagination when searching
2023-04-19 15:35:36 -04:00
Jon Koops
25a1496e0d
Revert "Revert "Always use useIsFeatureEnabled() hook for feature detection (#19589)" (#19635)" (#19643)
This reverts commit bcaab0e603.
2023-04-18 12:50:46 -04:00
Jon Koops
b6c8344fb5
Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02:00
Jon Koops
bcaab0e603
Revert "Always use useIsFeatureEnabled() hook for feature detection (#19589)" (#19635)
This reverts commit bdb9c140a4.
2023-04-11 11:28:24 +00:00
Erik Jan de Wit
291f4ec9bb
fixed filter user profile attributes (#19602)
fixes: #19578
2023-04-11 08:08:01 +02:00
Jon Koops
bdb9c140a4
Always use useIsFeatureEnabled() hook for feature detection (#19589) 2023-04-09 16:06:08 +02:00
eatikrh
396e2ba931
Allow users with 'view-users' permission to see the 'credentials' tab (#19587)
Closes #17174
2023-04-07 14:13:43 +02:00
Stan Silvert
2c663c2fcc
Disable client policies tab if feature is disabled. (#19558)
Closes #19460
2023-04-07 13:51:37 +02:00
Pedro Hos
2de052889a
Show correct breadcrumb title for resource, policy and scope details (#19581)
Closes #19533
2023-04-07 11:06:08 +02:00
Jon Koops
58c4fa4139
Ensure requests are cancelled properly in useFetch() (#19568) 2023-04-06 12:07:08 +00:00
Gabriel Padilha Santos
7a5b6efe7f
Feature to filter Login Events by IP Address (#19341)
Closes #19289
2023-04-06 11:33:15 +00:00
Jon Koops
84e763b472
Fix problems with key value input and empty entries (#19421) 2023-04-04 10:09:31 +02:00
Stan Silvert
c595e3430e
Add access to full group tree. Fix access for members tab. Add missing (#19423)
props to Access object.
Fixes #17589
2023-03-31 15:11:13 -04:00
Stan Silvert
139b809f72
Fixes access for credentials tab. (#19449)
Fixes #19134
2023-03-31 12:55:40 -04:00
agagancarczyk
f0520c855f
Fixed moderate a11y violations for Authentication (#19448) 2023-03-30 14:49:34 +00:00
agagancarczyk
2ecd17c90c
Fix a11y violation for client scopes/scopes (#19446) 2023-03-30 16:40:52 +02:00
agagancarczyk
639d931251
fixed color contrast serious a11y violation (#19434) 2023-03-30 12:48:42 +02:00
agagancarczyk
2ed1a9b72d
Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
Michal Hajas
e49dfe534e Fix missing migration when reading TERMS_AND_CONDITIONS required action in legacy store
Closes #17277
2023-03-29 16:43:01 +02:00
agagancarczyk
0a4456cc61
Fixed a11y violation for link style (#19395) 2023-03-28 16:47:26 +00:00
Oliver
fc0a9be79f
Only show activated required actions in credentials reset dialog (#19048) 2023-03-28 12:44:01 +00:00
Laurent
e40fa5fcb4
SOAP backchannel logout for SAML protocol (#17722) 2023-03-28 12:42:48 +00:00
Jon Koops
f0057157da
Use new React Router API for the Admin UI (#19361) 2023-03-27 16:34:53 +00:00
Jon Koops
7f85453ac8
Align route object type with React Router (#19357) 2023-03-27 16:10:48 +02:00
Jon Koops
0fb9b9becd
Move access property to React Router's handle (#19320) 2023-03-26 20:31:23 -04:00
Erik Jan de Wit
d29f3e4dfc
Change client description component to use utils (#19165) 2023-03-24 16:53:43 +01:00
Jon Koops
632d315c94
Align route definitions with React Router's element (#19316) 2023-03-24 14:37:24 +00:00
Erik Jan de Wit
c36b220745
Use signature providers instead of hardcoded index (#19198) 2023-03-23 16:27:51 +01:00
Erik Jan de Wit
e50526338b
Move credentials reset button to show always (#19201) 2023-03-23 16:24:35 +01:00
agagancarczyk
089492c746
fixed serious a11y violation (#19245)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-23 12:06:16 +01:00
agagancarczyk
e77c084135
Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
Erik Jan de Wit
5b4691fe3c
Add display name to resources and scope (#19210) 2023-03-22 13:29:53 +01:00
agagancarczyk
65b828edf9
Add missing aria-label (#19215)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-21 15:40:57 +00:00
dependabot[bot]
710c49b803
Bump typescript from 4.9.5 to 5.0.2 in /js (#19179)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.2)

---
updated-dependencies:
- dependency-name: typescript
  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>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-03-21 12:05:17 +00:00
Erik Jan de Wit
a63438c30e
Add missing fields when jwks is off (#19195) 2023-03-21 11:38:27 +01:00
Erik Jan de Wit
4f88e41fc7
Filter out disabled user storage providers (#19063) 2023-03-21 11:37:49 +01:00
Erik Jan de Wit
6b9dbc32e9
Add error to details panel (#17510) 2023-03-21 11:36:42 +01:00
Erik Jan de Wit
39cf79dae1
Removed use of inline components (#17687) 2023-03-21 11:36:20 +01:00
Erik Jan de Wit
0ddb0f9022
Fixed pagination bug due to fixed entry (#19075) 2023-03-21 09:55:30 +00:00
Erik Jan de Wit
1cde3dd30e
Make title clickable instead of card (#17511) 2023-03-21 10:25:57 +01:00
Erik Jan de Wit
d8a4e7cd32
fixed size of dropdown (#17689)
fixes: #17683
2023-03-20 12:50:33 -04:00
Erik Jan de Wit
3825a5882f
fixed reset of section fields (#17685)
fixes: #17676
2023-03-16 09:05:38 +01:00
Erik Jan de Wit
7aede42b8d
Revert not user realm roles are not paginated (#17619) 2023-03-14 13:08:22 +01:00
Erik Jan de Wit
9bd0e156a4
add isDisabled to components (#17508) 2023-03-14 12:38:22 +01:00
Erik Jan de Wit
f5ebe675a8
add unique title to pagination controls (#17542)
fixes: keycloak/keycloak-ui#4501
2023-03-13 07:46:10 +01:00
Erik Jan de Wit
4f4c850766
move empty state out of list (#17560)
fixes: keycloak/keycloak-ui#4561
2023-03-13 07:45:44 +01:00
Erik Jan de Wit
6d39c5336a
changed to use on select (#17564)
that  separates selection and expansion
fixes: keycloak/keycloak-ui#4560
2023-03-13 07:45:26 +01:00
agagancarczyk
340025b412
fixed a11y heading violation for Alert (#17540)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-10 11:32:06 +01:00