Commit graph

26622 commits

Author SHA1 Message Date
Lukas Hanusovsky
a8d9a5553f
[Test framework] Add custom provider dependencies into a Keycloak server (#34621)
* Add custom provider dependencies into a Keycloak server.

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>

* Update test-framework/examples/pom.xml

Signed-off-by: Stian Thorgersen <stian@redhat.com>

---------

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-06 08:39:28 +01:00
Ricardo Martin
ce454bda47
Remove online session when offline access is requested as the first request (#34346)
Closes #34001

Signed-off-by: rmartinc <rmartinc@redhat.com>


Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
Signed-off-by: Marek Posolda <mposolda@gmail.com>

---------

Signed-off-by: rmartinc <rmartinc@redhat.com>
Signed-off-by: Marek Posolda <mposolda@gmail.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
2024-11-06 08:33:12 +01:00
Jon Koops
b44aee7535
Use a weekly cache key for PNPM store (#34656)
Closes #34655

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-06 08:25:49 +01:00
Lasse Bak Pedersen
65e90d2ff4
Added missing Danish translation keys in messages_da.properties (#34588)
Signed-off-by: Lasse Pedersen <laped87@gmail.com>
2024-11-05 18:50:07 +00:00
Pedro Ruivo
36defd5f33 cache-embedded-mtls-enabled is ignored
Fixes #34644

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-11-05 18:57:22 +01:00
dependabot[bot]
8853a942f9
Bump @types/node from 22.8.4 to 22.9.0 (#34663)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.8.4 to 22.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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>
2024-11-05 16:52:39 +01:00
Steven Hawkins
927f110aef
fix: consolidating logic dealing with persisted property handling (#34260)
closes: #34258

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-05 16:42:56 +01:00
pnzrr
bd1a5a1543
Change passwordResetBodyHtml key for remaining languages that hadn't translated the text for the reset link. Those were including a full link. All templates now have the same behavior with translated text. (#34642)
Closes: 34640

Signed-off-by: pnzrp2 <pnzr@phasetwo.io>
2024-11-05 14:26:45 +00:00
Jonas Suter
35b425736a Strip Double Quotes from Request Content in Organization API
Closes #34401

Signed-off-by: Jonas Suter <jonas_suter@gmx.ch>
2024-11-05 11:24:08 -03:00
Erik Jan de Wit
1718a3ee94
fixed link to documentation (#34613)
fixes: #34519

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-05 08:19:29 -05:00
Christian Ja
9851452be1
Restore the Cache tab in Realm Settings (#34311)
closes keycloak#17727

Signed-off-by: Christian Janker <christian.janker@gmx.at>
2024-11-05 14:09:35 +01:00
Christian Ja
6482e41cd8
Show forbidden section only after whoAmI is set (#34589)
closes #34402

Signed-off-by: Christian Janker <christian.janker@gmx.at>
2024-11-05 13:05:02 +01:00
Giuseppe Graziano
7d70ea7c20 Avoid continuous reload when KC_AUTH_SESSION_HASH expires
Closes #34652

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2024-11-05 12:39:06 +01:00
dependabot[bot]
cd86405064
Bump eslint-plugin-react-compiler (#34645)
Bumps [eslint-plugin-react-compiler](https://github.com/facebook/react/tree/HEAD/compiler/packages/eslint-plugin-react-compiler) from 19.0.0-beta-9ee70a1-20241017 to 19.0.0-beta-63b359f-20241101.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/compiler/packages/eslint-plugin-react-compiler)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 12:18:57 +01:00
dependabot[bot]
fd97f9c7d7
Bump typescript-eslint from 8.12.2 to 8.13.0 (#34646)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.12.2 to 8.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  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>
2024-11-05 12:18:44 +01:00
dependabot[bot]
8b1cdb1fc3
Bump rollup from 4.24.3 to 4.24.4 (#34647)
Bumps [rollup](https://github.com/rollup/rollup) from 4.24.3 to 4.24.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.24.3...v4.24.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 12:18:31 +01:00
Christian Ja
5b6ac5b14b
fix: Client Protocol Mappers with non UUID ids cannot be edited (#34643)
closes #34636

Signed-off-by: Christian Janker <christian.janker@gmx.at>
2024-11-05 11:29:37 +01:00
fwojnar
b3dd26a7c3
Migrate WelcomeTestPage to testsuite framework (#34543)
* Migrate WelcomeTestPage to testsuite framework

Closes #34491

Signed-off-by: wojnarfilip <fwojnar@redhat.com>

* Refactor welcome page a bit

Signed-off-by: stianst <stianst@gmail.com>

* Fixes for htmlunit

Signed-off-by: stianst <stianst@gmail.com>

* Cleanup imports

Signed-off-by: stianst <stianst@gmail.com>

---------

Signed-off-by: wojnarfilip <fwojnar@redhat.com>
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: wojnarfilip <fwojnar@redhat.com>
Co-authored-by: stianst <stianst@gmail.com>
2024-11-05 10:57:58 +01:00
Stian Thorgersen
d6b01015c4
Database suppliers refactoring WIP (#34574)
Signed-off-by: stianst <stianst@gmail.com>
2024-11-05 07:20:11 +01:00
Giuseppe Graziano
612e2caae1 Refresh the login page when root auth session changes
Closes #32658

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2024-11-04 18:31:42 +01:00
Alexander Schwartz
25e4995eb7 Fixing explicit Anchor for downstream
Closes #34634

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-04 18:27:46 +01:00
Björn
cb38ad10ea
remove duplicate lines in theme
Closes #34614

Signed-off-by: bschumann <b.schumann@kasasi.de>
Co-authored-by: bschumann <b.schumann@kasasi.de>
2024-11-04 16:03:22 +00:00
Lukas Hanusovsky
440624e398
[Test framework] Update MVN dependencies (#34629)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-11-04 15:27:42 +00:00
Alexander Schwartz
373656593d Fixing cross-references between guides
Closes #34624

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-04 16:11:08 +01:00
Steven Hawkins
e8543e77d2
fix: ensure that kc.config.args is omitted from show-config (#34461)
closes: #34460

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-04 16:06:38 +01:00
Thomas Darimont
3315ea718a Add ability to enable OID4VCI Verifiable Credentials per realm (#34524)
- Added new realm property verifiableCredentialsEnabled
- Updated RealmRepresentation
- Guarded route to Oid4VCI page
- Add boolean switch to Realm settings page to control Verifiable Credentials enablement
- We now only show the Verifiable Credentials page in the nave if the "Verifiable Credentials" realm setting is enabled.

Fixes #34524

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-11-04 14:58:30 +01:00
Douglas Palmer
f229790ba5 Allow custom message for brute force temporary lockout
Closes #17014

Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
2024-11-04 14:49:32 +01:00
kqq
822d3fde32
Microsoft login - add prompt param configure
Closes #34583

Signed-off-by: kqq <971340511@qq.com>
Co-authored-by: kqq <971340511@qq.com>
2024-11-04 13:17:05 +01:00
Alexander Schwartz
8be4237fd4
Fix failing test AdminEventQueryTest by adding required session parameter (#34612)
Closes #34611

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-04 12:28:59 +01:00
dependabot[bot]
8855cf2316
Bump eslint from 9.13.0 to 9.14.0 (#34595)
Bumps [eslint](https://github.com/eslint/eslint) from 9.13.0 to 9.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.13.0...v9.14.0)

---
updated-dependencies:
- dependency-name: eslint
  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>
2024-11-04 09:52:17 +00:00
dependabot[bot]
f8df8e1c9a
Bump @faker-js/faker from 9.1.0 to 9.2.0 (#34597)
Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](https://github.com/faker-js/faker/compare/v9.1.0...v9.2.0)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  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>
2024-11-04 09:44:54 +00:00
Gilvan Filho
910caf5ff8
Update brute force docs
Fixes #27378

Signed-off-by: Gilvan Filho <gilvan.sfilho@gmail.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
2024-11-04 09:41:26 +00:00
dependabot[bot]
1a038af507
Bump tslib from 2.8.0 to 2.8.1 (#34556)
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/v2.8.0...v2.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 10:35:58 +01:00
dependabot[bot]
07464b11de
Bump @testing-library/jest-dom from 6.6.2 to 6.6.3 (#34557)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.6.2 to 6.6.3.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 10:35:43 +01:00
dependabot[bot]
fb64e3ba5f
Bump @eslint/js from 9.13.0 to 9.14.0 (#34596)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.13.0 to 9.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.14.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  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>
2024-11-04 10:35:18 +01:00
dependabot[bot]
81950f5d17
Bump lightningcss from 1.27.0 to 1.28.1 (#34599)
Bumps [lightningcss](https://github.com/parcel-bundler/lightningcss) from 1.27.0 to 1.28.1.
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases)
- [Commits](https://github.com/parcel-bundler/lightningcss/commits)

---
updated-dependencies:
- dependency-name: lightningcss
  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>
2024-11-04 10:35:03 +01:00
Erik Jan de Wit
2b4fbfe66b
disable group test again (#34607)
related: #34605

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-04 09:29:54 +00:00
Erik Jan de Wit
e4101b1b61
changed to use TextArea (#34539)
fixes: #34201

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-04 10:23:40 +01:00
Bernd Bohmann
7681687e0a
Provide missing user event metrics from aerogear/keycloak-metrics-spi to a keycloak micrometer event listener
inspired by
https://github.com/aerogear/keycloak-metrics-spi
https://github.com/please-openit/keycloak-native-metrics

Closes #33043

Signed-off-by: Bernd Bohmann <bommel@apache.org>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
2024-11-04 08:56:24 +01:00
mposolda
d80cb010ff Make documentation more clear that keycloak javascript adapter and node.js adapter are OIDC
closes #34570

Signed-off-by: mposolda <mposolda@gmail.com>
2024-11-04 08:44:46 +01:00
Stefan Guilhen
af434d6bc1 Add checks to prevent GroupLDAPStorageMapper from performing operations on groups it does not manage
Closes #11008
Closes #17593
Closes #19652

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-11-01 15:49:55 -03:00
Stefan Guilhen
2e51775acc Remove Provider annotation along with default constructors from org resources
Closes #34335

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-11-01 15:37:52 -03:00
Václav Muzikář
9a7cfb38ac
Fix Quarkus dev mode (#34550)
Closes #34549

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2024-11-01 14:57:00 +01:00
Stian Thorgersen
a7af380f71
Break up test-framework into multiple modules, and introduce placeholder for new testsuite (#34507)
Closes #34194

Signed-off-by: stianst <stianst@gmail.com>
2024-11-01 08:52:00 +01:00
dependabot[bot]
e72da1ac2c
Bump mocha from 10.8.1 to 10.8.2 (#34526)
Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.1 to 10.8.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.8.1...v10.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 22:08:41 +01:00
dependabot[bot]
53cfcdc273
Bump @patternfly/react-table from 5.4.8 to 5.4.9 (#34527)
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.4.8 to 5.4.9.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.4.8...@patternfly/react-table@5.4.9)

---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 22:08:27 +01:00
dependabot[bot]
1d8b61b991
Bump eslint-plugin-cypress from 4.0.0 to 4.1.0 (#34528)
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  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>
2024-10-31 22:08:11 +01:00
vramik
d853dcab7d Use specific error message from required actions for SamlProtocol if available
Closes #34514

Signed-off-by: vramik <vramik@redhat.com>
2024-10-31 15:45:19 -03:00
Thomas Darimont
36b01cbea0 Revise PAR request object parameter handlig (#34352)
We now store the original parameter value as-is, in case only a single parameter value is provided. In case multiple parameter values are provided
for the same parameter, we only retain the first parameter.
This ensures that the original value is retained. Previously the value list from the
`decodedFormParameters` `MultivaluedMap` was converted to a String while replacing '[' and ']'
with an empty string, which corrupted the original parameter values stored.

Fixes #34352

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-10-31 16:26:31 +01:00
Ryan Emerson
ba51140a25 Asynchronously create EmbeddedCacheManager when JDBC_PING2 not required
Closes #34313

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-31 12:55:15 +01:00