Commit graph

22444 commits

Author SHA1 Message Date
Alexander Schwartz
332a0dacee
Allow dependencies from keycloak-admin-ui (#13924)
This prevents exceptions due to missing classes like kotlin/jvm/internal/Intrinsics.

Closes #13918
2022-08-24 11:31:29 +02:00
Erik Jan de Wit
b5ea27c194
created endpoint for effective client roles (#3165) 2022-08-24 10:46:22 +02:00
Erik Jan de Wit
711a780be6
Changed transition to 50 ms to not overlap content (#3177) 2022-08-24 10:41:54 +02:00
Konstantinos Georgilakis
c5b9dc1e7b set context session client equal to clientsession client (fromClientSessionAndScopeParameter method of DefaultClientSessionContext)
Closes #13162
2022-08-23 17:33:07 +02:00
kris2kris
e74969b9e0
Fix redirection on remove all associated roles (#3160) 2022-08-23 16:37:09 +02:00
Jon Koops
9e4ecc8a1b
Remove Cypress test exclusion (#3169) 2022-08-23 16:30:52 +02:00
Konstantinos Georgilakis
baa89debd9 Correct isValidScope method of TokenManager for Dynamic scopes
Closes #13158
2022-08-23 16:30:04 +02:00
Jon Koops
a9e767da57
Add extended fields for identity providers (#3167) 2022-08-23 15:53:34 +02:00
Christian Köberl
28e907a3fa
Add info about consent when revoking refresh tokens (#1664)
Closes #1668
2022-08-23 15:35:26 +02:00
Lex Cao
6b1c64a1a9
Add rememberMe to a user session representation(#13408) (#13765)
Closes #13408
2022-08-23 15:28:52 +02:00
mposolda
254483bc5d Use separate transactions for each bulk update of offline sessions in PersisterLastSessionRefreshStore to avoid deadlocks
closes #13684
2022-08-23 13:52:11 +02:00
Jon Koops
b9e2ba2a2f
Enable client consent text when client consent is enabled (#3145) 2022-08-23 11:55:36 +02:00
Konstantinos Georgilakis
2002fd983b Showing consent screen text instead of scope name in consent part of Application page in Account console
Closes #13109
2022-08-23 11:22:31 +02:00
rishabhsvats
c223291a1e Adds REGISTER event when new user login through first broker flow
Updates KcOidcBrokerEventTest, AbstractFirstBrokerLoginTest to factor in REGISTER event in first broker flow

Closes #11646

Correcting Indentation of AbstractFirstBrokerLoginTest
2022-08-23 10:43:56 +02:00
David Anderson
2070420673
Remove the BC dependency from keycloak-operator (#13928)
Closes #13115
2022-08-23 10:21:00 +02:00
Stefan Guilhen
6d99686220
Fix user session deadlock by enlisting broker logout request after main logout transaction commits. (#13889)
- This also fixes broker test failures with CockroachDB

Closes #13348
Closes #13212
Closes #13214
2022-08-23 09:57:40 +02:00
Stefan Guilhen
f84fdfa8ef
Fix UserSessionProviderTest failures with CockroachDB (#13891)
- move assertions to a separate tx due to CRDB's SERIALIZABLE isolation level

Closes #13211
2022-08-23 09:57:13 +02:00
ikhomyn
4f25c71eed
New Users IdP linking account tests (#3146) 2022-08-22 18:05:57 +02:00
Erik Jan de Wit
a1140191d6
Disable remove button only when it's the last field (#3136) 2022-08-22 17:59:35 +02:00
Jon Koops
3e08fbaa4b
Use Link component from new React Router API (#3159) 2022-08-22 17:51:19 +02:00
Erik Jan de Wit
e4882d31d6
Refactored and introduced test for client url (#3139) 2022-08-22 17:09:41 +02:00
Erik Jan de Wit
01cc7d7d20
small fix in attribute naming (#3140) 2022-08-22 16:37:29 +02:00
dependabot[bot]
0f916299ce
Bump vite from 3.0.8 to 3.0.9 (#3149)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.0.8 to 3.0.9.
- [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/v3.0.9/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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>
2022-08-22 16:29:56 +02:00
Jon Koops
ce140245e7
Move all legacy routes to new React Router API (#3155) 2022-08-22 16:29:35 +02:00
dependabot[bot]
b4204f4778
Bump maven-compiler-plugin from 3.8.1 to 3.10.1 in /keycloak-theme (#3152)
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.1 to 3.10.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.8.1...maven-compiler-plugin-3.10.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
  dependency-type: direct:production
  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>
2022-08-22 16:18:56 +02:00
kris2kris
ce140172ff
Do not display error when policy name is empty (#3148) 2022-08-22 16:01:07 +02:00
dependabot[bot]
87e13fd3a5
Bump smallrye-open-api-maven-plugin in /keycloak-theme (#3151)
Bumps smallrye-open-api-maven-plugin from 2.1.22 to 2.2.0.

---
updated-dependencies:
- dependency-name: io.smallrye:smallrye-open-api-maven-plugin
  dependency-type: direct:production
  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>
2022-08-22 15:57:27 +02:00
dependabot[bot]
a8491e1aed
Bump testng from 6.14.2 to 7.6.1 in /keycloak-theme (#3153)
Bumps [testng](https://github.com/cbeust/testng) from 6.14.2 to 7.6.1.
- [Release notes](https://github.com/cbeust/testng/releases)
- [Changelog](https://github.com/cbeust/testng/blob/master/CHANGES.txt)
- [Commits](https://github.com/cbeust/testng/compare/6.14.2...7.6.1)

---
updated-dependencies:
- dependency-name: org.testng:testng
  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>
2022-08-22 15:57:02 +02:00
David Anderson
ce1331f550
Remove bouncycastle dependency from keycloak-services (#13489)
Closes #12857


Co-authored-by: mposolda <mposolda@gmail.com>
2022-08-22 15:43:59 +02:00
Jon Koops
0c3f270e42
Revert back to 'skipTests' to fix Maven build (#3158) 2022-08-22 09:29:39 -04:00
Sebastian Schuster
fb978de0d8 12653 check if fine-grained permissions are enabled before retrieving group memberships of users 2022-08-22 09:34:46 -03:00
Sebastian Schuster
916cfbbaf1 13647 Added null checks and some comments/questions for discussions. Will be squashed later if accepted. 2022-08-22 09:34:12 -03:00
Sebastian Schuster
53472e097c 13647 fixed wrong feature flag for checking admin fine-grained authz 2022-08-22 09:34:12 -03:00
dependabot[bot]
def999375d Bump @types/node from 18.7.6 to 18.7.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.7.6 to 18.7.9.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 12:39:57 +02:00
Stefan Guilhen
5775e7c4ba
Fix ConcurrentTransactionsTest failure with CockroachDB (#13890)
- realm has to be removed in a separate tx due to CRDB's SERIALIZABLE isolation level

Closes #13211
2022-08-22 08:39:14 +02:00
Erik Jan de Wit
84da777693
initial version of an endpoint (#3095)
* initial version of an endpoint

* added open-api yaml

* changed to list available added mapping to own domain model

* added search and roles endpoint

* use new endpoints

* removed `Representation` suffix and made id role and client mandatory fields

* fixed test
2022-08-20 10:10:36 +02:00
Jon Koops
7729a54ad6
Convert route definitions to React Router v6 APIs (#3144) 2022-08-19 20:05:09 +02:00
Martin Bartoš
f3a36eaad5
Disable WebAuthn tests in GH Actions (#13880) 2022-08-19 15:59:17 +02:00
Pedro Igor
2a2ada9575
Improve how expected values are set to options (#13842)
Closes #13841
2022-08-19 14:55:01 +02:00
Pedro Igor
5f2191813a
Remove unnecessary code paths during startup (#13848)
Closes #13847
2022-08-19 14:54:11 +02:00
Erik Jan de Wit
9d9e774790
converts attribute names (#3134)
* converts attribute names

fixes: #3092

* revert changes previosly failing test & unskip fixed one

Co-authored-by: Ivan Khomyn <ikhomyn@redhat.com>
2022-08-19 13:57:25 +02:00
Stian Thorgersen
68d14783f5
Remove WildFly dist from distribution downloads (#13857)
Closes #13856
2022-08-19 13:22:59 +02:00
Erik Jan de Wit
e6686bf43f
faster maven execution (#3142)
hopefully fixes tests
2022-08-19 13:19:25 +02:00
Stian Thorgersen
06bc4af50e
Remove WildFly distribution from documentation (#1666)
* Remove WildFly distribution from documentation

Closes #1665

* Update server_admin/topics/authentication/webauthn.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Update upgrading/topics/install_new_version.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Update upgrading/topics/migrate_db.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Update upgrading/topics/migrate_db.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Update server_admin/topics/realms/ssl.adoc

* Update server_admin/topics/user-federation/ldap.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Update server_development/topics/providers.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Update server_development/topics/providers.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Remove section on cilent cert lookup in x509.adoc

* Update securing_apps/topics/oidc/fapi-support.adoc

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>

* Add missing images for rh-sso images by moving to shared images as we won't have RH-SSO specific theme anymore

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-08-19 13:15:51 +02:00
Erik Jan de Wit
2ef120f698
Show name as it is stored (#3137) 2022-08-19 11:15:35 +02:00
dependabot[bot]
0e03a73d19 Bump vitest from 0.22.0 to 0.22.1
Bumps [vitest](https://github.com/vitest-dev/vitest) from 0.22.0 to 0.22.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-19 11:10:46 +02:00
dependabot[bot]
7fa91668e5 Bump cypress from 10.5.0 to 10.6.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v10.5.0...v10.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 12:33:32 +02:00
dependabot[bot]
dbaaf1b323 Bump @types/node from 18.7.5 to 18.7.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.7.5 to 18.7.6.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 12:33:16 +02:00
Pedro Igor
eda33a0b21 Concurrency issue when caching JS policies
Closes #12204
2022-08-17 16:30:32 -03:00
Pedro Igor
15bbb46657 Avoid removing static path config from cache
Closes #9855
2022-08-17 16:29:59 -03:00