Commit graph

25096 commits

Author SHA1 Message Date
Mark Andreev
d900540034 Fix NPE if user not exists
Check "userSession.getId().equals(clientUser.getId())" fails if getUserFromToken return non existed user. It is happens when AccessToken.subject relates to non existed user.

Closes #16297
2023-01-09 06:43:39 -08:00
Jon Koops
b4fef326de
Split out role form for realm and client in seperate components (#4141) 2023-01-09 13:57:40 +01:00
Alexander Schwartz
665dec19c0
Extend build time for CockroachDB (#16315)
Closes #16313
2023-01-09 13:12:58 +01:00
dependabot[bot]
84da38789d
Bump prettier from 2.8.1 to 2.8.2 (#4154)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.2.
- [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/2.8.1...2.8.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 12:53:43 +01:00
dependabot[bot]
be3bc83037
Bump @rollup/plugin-typescript from 10.0.1 to 11.0.0 (#4150)
Bumps [@rollup/plugin-typescript](https://github.com/rollup/plugins/tree/HEAD/packages/typescript) from 10.0.1 to 11.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/typescript/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v11.0.0/packages/typescript)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:37:40 +00:00
dependabot[bot]
19f2ede0e0
Bump @typescript-eslint/parser from 5.47.1 to 5.48.0 (#4148)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.47.1 to 5.48.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:37:29 +00:00
dependabot[bot]
91c7ffd0b2
Bump @babel/core from 7.20.7 to 7.20.12 (#4147)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.7 to 7.20.12.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.12/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:16:02 +01:00
dependabot[bot]
159818e83b
Bump wireit from 0.9.2 to 0.9.3 (#4152)
Bumps [wireit](https://github.com/google/wireit) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/google/wireit/releases)
- [Changelog](https://github.com/google/wireit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/wireit/compare/v0.9.2...v0.9.3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:15:12 +01:00
dependabot[bot]
658f35cdec
Bump @rollup/plugin-terser from 0.2.1 to 0.3.0 (#4157)
Bumps [@rollup/plugin-terser](https://github.com/rollup/plugins/tree/HEAD/packages/terser) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/terser/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/terser-v0.3.0/packages/terser)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-terser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:14:09 +01:00
dependabot[bot]
58b6ac5e45
Bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.48.0 (#4158)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.47.1 to 5.48.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:13:52 +01:00
dependabot[bot]
1839c041ec
Bump rollup from 3.9.0 to 3.9.1 (#4159)
Bumps [rollup](https://github.com/rollup/rollup) from 3.9.0 to 3.9.1.
- [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/v3.9.0...v3.9.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:13:32 +01:00
dependabot[bot]
cc325b0f3b
Bump eslint-config-prettier from 8.5.0 to 8.6.0 (#4160)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.6.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:12:24 +01:00
Erik Jan de Wit
3c677f4b53
Fix bounds check for adding client profile (#4140) 2023-01-07 22:22:48 +01:00
Erik Jan de Wit
e15ac55570
Fix validation of user profile attributes (#4139) 2023-01-07 20:14:16 +01:00
Pedro Igor
522bf1c0b0 Keep consistency when importing realms at startup when they are exported via the export command
Closes #16281

Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2023-01-06 18:53:01 +01:00
Jon Koops
e914ac6ea2
Use React Router v6 for the routable tabs of the identity provider page (#4136) 2023-01-06 13:48:50 +00:00
Jon Koops
0d541f60b6
Use React Router v6 for the routable tabs of the user profile page (#4137) 2023-01-06 14:30:17 +01:00
Pedro Igor
53ee95764e Do not show username field when updating profile if UPDATE_EMAIL feature is enabled and email as username is enabled
Closes #16263
2023-01-06 14:12:47 +01:00
Réda Housni Alaoui
141c9dd803
update-email: email change does not affect the username when "Email as username" option is checked (#15583)
Closes #13988
2023-01-06 14:04:48 +01:00
Jon Koops
bd2569b50d
Use React Router v6 for the routable tabs of the events page (#4135) 2023-01-06 12:21:59 +00:00
Jon Koops
bf18af49e3
Use React Router v6 for the routable tabs of the client page (#4132) 2023-01-06 12:05:12 +00:00
Hynek Mlnarik
7708e2cc5c Fix putAll issues
Closes: #16287
2023-01-06 12:01:19 +01:00
Jon Koops
3e82a57383
Add clear-data script to Keycloak server (#4128) 2023-01-06 11:21:59 +01:00
Stian Thorgersen
cc641cb72b Update ci.yml 2023-01-06 10:30:34 +01:00
Stian Thorgersen
1cf7535c90
Add flaky retry/reporting to store model test (#16275) 2023-01-06 09:15:01 +01:00
Miquel Simon
c2682157fb
Added MS SQL Server to Legacy Store IT. (#16121)
* Added MS SQL Server to Legacy Store IT.

* Update testsuite/integration-arquillian/pom.xml

Co-authored-by: Stian Thorgersen <stianst@gmail.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2023-01-06 08:55:09 +01:00
Réda Housni Alaoui
5ca38aa96b
Document client registration access token rotation executor (#1736)
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
2023-01-05 20:56:26 +01:00
Réda Housni Alaoui
dbe0c27bcf Allowing client registration access token rotation deactivation 2023-01-05 20:53:57 +01:00
Marek Posolda
46317fff9c
Deprecate SHA1 based algorithms for SAML signatures (#1739)
* Deprecate SHA1 based algorithms for SAML signatures
Closes #1738


Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
2023-01-05 20:50:09 +01:00
mposolda
e374e309c6 Deprecate SHA1 based algorithms for sign SAML documents and assertions
Closes #16240
2023-01-05 20:45:20 +01:00
Michal Hajas
6566b58be1 Introduce Infinispan GlobalLock implementation
Closes #14721
2023-01-05 16:58:44 +01:00
Hynek Mlnarik
071fc03f41 Move transaction processing into session close
Fixes: #15223
2023-01-05 16:12:32 +01:00
Jon Koops
bdd39c4e37
Use React Router v6 for the routable tabs of the dedicated scope page (#4131) 2023-01-05 15:24:05 +01:00
Jon Koops
074b6afc5d
Use React Router v6 for the routable tabs of the users page (#4130) 2023-01-05 14:10:37 +00:00
Michael Härtl
858c0a8ae1 Fix full scope toggle procedure 2023-01-05 15:06:44 +01:00
vramik
f7ad00270e Unique constraints should use attribute value hash instead of the value itself
Closes #15699
Closes #15507
2023-01-05 13:38:06 +01:00
Jon Koops
0b7ab7d008
Use React Router v6 for the routable tabs of the realm settings keys page (#4129) 2023-01-05 12:08:14 +00:00
Jon Koops
d2163efe3f
Use React Router v6 for the routable tabs of the user federation LDAP settings page (#4126) 2023-01-05 11:38:16 +00:00
Pedro Igor
dbe225715d
Wrong auth session id being used when validating auth session id cookies (#16253)
Closes #16252
Closes #16132
2023-01-05 10:13:25 +01:00
vramik
380df3bedf Field generator: getCollectionElementClass method not generated when no addElement method is present in interface
Closes #16255
2023-01-04 17:12:59 +01:00
Stian Thorgersen
10f2ae3411
Add flaky tests rerun to more jobs (#16231) 2023-01-04 14:38:05 +01:00
Alexander Schwartz
66cf4ddd94 Metrics changed from SmallRye to Micrometer
keycloak/keycloak#15234
2023-01-04 05:08:50 -08:00
cknoblauch
ae74cadcfc Add missing < to Javadoc 2023-01-04 14:06:53 +01:00
Jon Koops
b509a5a04e
Use React Router v6 for the routable tabs of the realm settings page (#4125) 2023-01-04 13:30:54 +01:00
Stian Thorgersen
6c1f981eec
Fix UserTest.sendResetPasswordEmailWithCustomLifespan (#16233)
Closes #16232
2023-01-04 13:03:33 +01:00
Stian Thorgersen
7dc16c69cb
Force refreshing token for admin client if time offset is set (#16242)
Closes #16143
2023-01-04 13:03:10 +01:00
Jon Koops
36a7ab32e4
Use React Router v6 for the routable tabs of client scope page (#4124) 2023-01-04 12:19:09 +01:00
Martin Bartoš
af3ba49393 Clarify using of --optimized flag with DBs
Closes #16220
2023-01-04 02:47:22 -08:00
Jon Koops
2c4805fe50
Use React Router v6 for the routable tabs of clients page (#4123) 2023-01-04 10:33:43 +00:00
Jon Koops
63cac73a12
Use React Router v6 for the routable tabs of dashboard page (#4119) 2023-01-04 09:57:46 +00:00