Commit graph

23710 commits

Author SHA1 Message Date
Jenny
158bd07398
index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704) (#1961)
auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

wip contextual attributes

wip contextual attributes

add conditional dropdown for auth method

wip resource fields

scopes and context inputs working

fix resources error and update onChange

package-lock

cleanup: remove comments and log stmts

add conditional fields when applyToResourceType is true

package.json from main

PR feedback from Erik

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

Update src/clients/authorization/AuthorizationEvaluate.tsx

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

handleSubmit

remove log stmt

fix cypress test

PR feedback from Erik

try fixing policies test

PR feedback from Jon

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

PR feedback from Jon

rename id

revert client policy test

reset

add trigger

authEvaluateReset

conditionally render based on type

Apply suggestions from code review

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

PR feedback

remove controller

Update src/components/attribute-input/AttributeInput.tsx

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

PR feedback

Update src/clients/authorization/AuthorizationEvaluate.tsx

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

remove reset
2022-02-15 12:52:46 -05:00
Jon Koops
a9e67b5fc4
Fix and skip broken tests (#2090) 2022-02-15 17:02:17 +01:00
Stian Thorgersen
674fc3d50d Add doctype to login-status-iframe
Closes #9063
2022-02-15 14:34:36 +01:00
Jon Koops
7e74ee58d2
Update Keycloak development server to version 17.0.0 (#2105) 2022-02-15 14:24:56 +01:00
Stian Thorgersen
aff70965a0
Update changes-17_0_0.adoc 2022-02-15 14:08:49 +01:00
andreaTP
541043c862 Run the operator tests using a fresh build of Keycloak 2022-02-15 10:01:53 -03:00
Pedro Igor
f3c3bb5001
Removing unnecessary code paths during startup (#10131)
Closes #10130
2022-02-15 12:09:14 +01:00
Lorent Lempereur
909740ca51 Fix a wrong expiration placeholder in French email translations: emailVerificationBody and emailVerificationBodyHtml
Closes #10136
2022-02-15 11:42:24 +01:00
Marek Posolda
90d4e586b6
Show error in case of an unkown essential acr claim. Make sure correc… (#10088)
* Show error in case of an unkown essential acr claim. Make sure correct acr is set after authentication flow during step-up authentication
Closes #8724

Co-authored-by: Cornelia Lahnsteiner <cornelia.lahnsteiner@prime-sign.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2022-02-15 09:02:05 +01:00
vramik
589606b1c1 JPA map storage: Groups no-downtime store
Closes #9660
2022-02-15 08:54:41 +01:00
Stian Thorgersen
5d3fbbb158
Update README.md 2022-02-15 08:11:44 +01:00
Dominik Guhr
5d781304e7 Fix idelauncher resourceloading
caused by doubled slashes when getting the path for resources while running IDELauncher. So now we sanitize them. Tests by building and running  wf and quarkus distribution, running from idelauncher and running using quarkus:dev, assets got always loaded.

closes #9942
2022-02-14 15:51:58 -03:00
dependabot[bot]
215ac539a5 Bump @typescript-eslint/parser from 5.10.2 to 5.11.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.10.2 to 5.11.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.11.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>
2022-02-14 18:24:40 +01:00
dependabot[bot]
e737144218 Bump @cypress/webpack-preprocessor from 5.11.0 to 5.11.1
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 5.11.0 to 5.11.1.
- [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/@cypress/webpack-preprocessor-v5.11.0...@cypress/webpack-preprocessor-v5.11.1)

---
updated-dependencies:
- dependency-name: "@cypress/webpack-preprocessor"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:24:31 +01:00
dependabot[bot]
7c7ff50ce9 Bump jest from 27.5.0 to 27.5.1
Bumps [jest](https://github.com/facebook/jest) from 27.5.0 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.5.0...v27.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:24:24 +01:00
dependabot[bot]
4816675e3b Bump @jest/types from 27.5.0 to 27.5.1
Bumps [@jest/types](https://github.com/facebook/jest/tree/HEAD/packages/jest-types) from 27.5.0 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.5.1/packages/jest-types)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:20:09 +01:00
dependabot[bot]
625984c769 Bump fork-ts-checker-webpack-plugin from 7.1.1 to 7.2.1
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 7.1.1 to 7.2.1.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v7.1.1...v7.2.1)

---
updated-dependencies:
- dependency-name: fork-ts-checker-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:19:39 +01:00
dependabot[bot]
4fab747141 Bump @types/node from 17.0.15 to 17.0.17
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.15 to 17.0.17.
- [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-02-14 18:19:24 +01:00
dependabot[bot]
f1cacd0a3d Bump react-flow-renderer from 9.7.3 to 9.7.4
Bumps [react-flow-renderer](https://github.com/wbkd/react-flow) from 9.7.3 to 9.7.4.
- [Release notes](https://github.com/wbkd/react-flow/releases)
- [Changelog](https://github.com/wbkd/react-flow/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wbkd/react-flow/compare/9.7.3...9.7.4)

---
updated-dependencies:
- dependency-name: react-flow-renderer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:19:08 +01:00
dependabot[bot]
6dd29555cf Bump @typescript-eslint/eslint-plugin from 5.10.2 to 5.11.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.10.2 to 5.11.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.11.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>
2022-02-14 18:18:39 +01:00
dependabot[bot]
8882cd82e9 Bump lint-staged from 12.3.3 to 12.3.4
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.3 to 12.3.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.3...v12.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:18:08 +01:00
dependabot[bot]
2733d0267c Bump react-i18next from 11.15.3 to 11.15.4
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.15.3 to 11.15.4.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.15.3...v11.15.4)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:17:20 +01:00
dependabot[bot]
f78771a8ec Bump @keycloak/keycloak-admin-client from 17.0.0-dev.29 to 18.0.0-dev.0
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 17.0.0-dev.29 to 18.0.0-dev.0.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v17.0.0-dev.29...v18.0.0-dev.0)

---
updated-dependencies:
- dependency-name: "@keycloak/keycloak-admin-client"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:17:00 +01:00
dependabot[bot]
68dae53126 Bump i18next from 21.6.10 to 21.6.11
Bumps [i18next](https://github.com/i18next/i18next) from 21.6.10 to 21.6.11.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v21.6.10...v21.6.11)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:16:16 +01:00
dependabot[bot]
8d4e4ada74 Bump ts-node from 10.4.0 to 10.5.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.4.0...v10.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:11:42 +01:00
dependabot[bot]
82f0e66df8 Bump eslint from 8.8.0 to 8.9.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.8.0 to 8.9.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/v8.8.0...v8.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 18:10:38 +01:00
Dominik Guhr
e1967250af
provide readme for containers module (#10093)
seems to accidentally gone missing when moving from containers repo

Closes #10092
2022-02-14 16:03:03 +01:00
dependabot[bot]
3bee1fe636 Bump nexus-staging-maven-plugin from 1.6.8 to 1.6.10 in /keycloak-theme
Bumps nexus-staging-maven-plugin from 1.6.8 to 1.6.10.

---
updated-dependencies:
- dependency-name: org.sonatype.plugins:nexus-staging-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 12:26:31 +01:00
Alexander Schwartz
d6cd69381b Add missing properties to keycloak-server.json for map storage
Closes #10058
2022-02-14 11:09:16 +01:00
Jon Koops
54a292ef2b
Tweak some settings to (hopefully) fix package pruning (#2089) 2022-02-14 11:07:40 +01:00
Dominik Guhr
7517d35db7
fix_for_migrationguide_link (#1407) 2022-02-14 08:06:40 +01:00
mfrances17
065aec9424
Fix console error on landing page (#2053) 2022-02-13 19:00:50 +01:00
Thomas Darimont
61ea2dd1bb Add ability to control debug suspend mode to kc scripts
We now consider the new env variable DEBUG_SUSPEND to control the
suspend mode of the remote debug configuration. DEBUG_SUSPEND defaults to 'n' which was the hard-coded default setting before.

Fixes #10178

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2022-02-13 13:39:10 -03:00
Václav Muzikář
cfddcad3c5 Tests for Keycloak Deployment 2022-02-11 17:46:03 -03:00
keycloak-bot
3a2670dc46
Set version to 18.0.0-SNAPSHOT (#2071) 2022-02-11 21:29:39 +01:00
keycloak-bot
6178d6513b
Set version to 18.0.0 (#1406) 2022-02-11 21:28:33 +01:00
keycloak-bot
d9f1a9b207
Set version to 18.0.0-SNAPSHOT (#10165) 2022-02-11 21:28:06 +01:00
Stefan Guilhen
442d9bae2e Add CockroachDB support in the new JPA storage
Closes #10039
2022-02-11 18:04:02 +01:00
Martin Kanis
26ac142b99 Hot Rod map storage: Roles no-downtime store 2022-02-11 14:31:34 +01:00
wojnarfilip
f54cd969f8 OTPPolicyTest failures resolve
Tests pass locally, Closes #9692
2022-02-11 14:06:17 +01:00
Michal Hajas
b50b8f883b Implement HotRod storage for Users
Closes #9671
2022-02-11 10:20:36 +01:00
Francis PEROT
623aaf1e8b Fixes collection comparison ignoring order
Use of containsAll() does not permit to compare if 2 lists are equals
(ignoring order)
Previous implementation of CollectionUtil.collectionEquals(...) was not taking care of specific cases where you can have [ A, A, B ] and [ A, B, B ] and complexity was O(n²)
Using Map, complexity is now O(n)

Closes #9920
2022-02-11 10:01:41 +01:00
Douglas Palmer
340d8da197
LDAP Integration tests fail on JDK-17 #9899 (#9980) 2022-02-11 09:03:16 +01:00
vramik
8a8d59a124 Add prefix "kc_" to all existing tables
Closes #10101
2022-02-11 08:59:23 +01:00
Martin Bartoš
6c09ec6de6 Hide 'unknown' transport media type label for WebAuthn authenticators
Closes #10036
2022-02-11 08:28:50 +01:00
Bruno Oliveira da Silva
38d817b7b9 Configure CodeQL to perform the analysis of the main branch
The CodeQL configuration file still has some references to the old
branch `master`, that means that most of the information provided by the
tool must be outdated.  Change it is necessary to perform the correct
analysis of the codebase.

Closes #10103
2022-02-10 09:57:53 -03:00
Stian Thorgersen
4f5c89554e
Added warning to server install guide to point to new guides (#1405) 2022-02-10 10:38:58 +01:00
Stefan Guilhen
a90f1cd7e1 Add section about the Liquibase upgrade in the release notes 2022-02-10 10:09:29 +01:00
Erik Jan de Wit
5fd344a7bd
Added scope typed permission screen (#1933)
* added scope type permission

* review comments

* Update src/clients/authorization/PermissionDetails.tsx

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

* Update src/clients/authorization/ScopeSelect.tsx

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

* PR review

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-10 09:23:23 +01:00
Sebastian Schuster
011d108fff
10073 reduced quarkus image size (#10074) 2022-02-10 08:01:51 +01:00