Commit graph

21873 commits

Author SHA1 Message Date
Jenny
02ce5c4e6e
Realm settings(login tab): fix switches (#1183)
* fix login tab

update cypress test

cypress test

rebase

test updates

cypress test fix

get correct ids

fix get call

fix tests

try refetching realm

add useEffect to fix server GET call

uncomment test

revert to original useFetch

prettier

create new function

set timeout to 10 ms

set to 100 ms

* add comment to useEffect per Jon feedback
2021-09-27 13:15:36 -04:00
Jon Koops
bd5b0da694
Fix a typo in the publish workflow (#1243) 2021-09-27 16:59:20 +02:00
Erik Jan de Wit
673fe7c9b3
fixing messages (#1241)
fixes: #1160
2021-09-27 16:54:01 +02:00
Pedro Igor
6e8cd3262d [KEYCLOAK-19380] - Import not running once schema is inited and requiring full server setup 2021-09-27 11:46:51 -03:00
Václav Muzikář
69a146db7e KEYCLOAK-18128 Keycloak cannot fetch group claims from openshift 2021-09-27 08:05:43 -03:00
Erik Jan de Wit
f0c0ab232a
Added missing labels on the client scope mappers (#1217)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-27 12:32:16 +02:00
Erik Jan de Wit
bd6a0a4e35
fixes: #1215 (#1235) 2021-09-27 11:57:29 +02:00
dependabot[bot]
8629366359 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.23 to 16.0.0-dev.24
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.23 to 16.0.0-dev.24.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/master/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v16.0.0-dev.23...v16.0.0-dev.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 11:50:50 +02:00
dependabot[bot]
52f9d36784 Bump @types/lodash from 4.14.173 to 4.14.174
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.173 to 4.14.174.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:58:56 +02:00
dependabot[bot]
24515a1d36 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.19 to 16.0.0-dev.23
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.19 to 16.0.0-dev.23.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/master/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v16.0.0-dev.19...v16.0.0-dev.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:57:29 +02:00
dependabot[bot]
28eab75a19 Bump @types/react from 17.0.21 to 17.0.24
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.21 to 17.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:56:52 +02:00
Jon Koops
c3e84021cf
Run jobs for CI in parallel (#1222) 2021-09-27 10:56:35 +02:00
Erik Jan de Wit
145cf56a2b
fixes some issue on the events tab (#1150) 2021-09-27 10:52:02 +02:00
dependabot[bot]
bb6426c86a Bump @types/node from 16.9.2 to 16.10.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.2 to 16.10.1.
- [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>
2021-09-27 10:50:44 +02:00
dependabot[bot]
cc117624dc Bump postcss from 8.3.6 to 8.3.8
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.6 to 8.3.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.6...8.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:50:27 +02:00
dependabot[bot]
a1ddc381d6 Bump @typescript-eslint/parser from 4.31.1 to 4.31.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.1 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:50:07 +02:00
dependabot[bot]
7e9906fc77 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.19 to 16.0.0-dev.22
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.19 to 16.0.0-dev.22.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/master/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v16.0.0-dev.19...v16.0.0-dev.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:49:43 +02:00
Jon Koops
7776adcb0b
Prevent Dependabot from automatically rebasing (#1238) 2021-09-27 10:49:15 +02:00
dependabot[bot]
95654603d1 Bump eslint-plugin-react from 7.25.3 to 7.26.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.3 to 7.26.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.3...v7.26.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>
2021-09-27 10:40:50 +02:00
dependabot[bot]
24056e6c05 Bump i18next from 20.6.1 to 21.1.0
Bumps [i18next](https://github.com/i18next/i18next) from 20.6.1 to 21.1.0.
- [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/v20.6.1...v21.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:40:32 +02:00
dependabot[bot]
9fdcb7e6ef Bump jest from 27.2.0 to 27.2.2
Bumps [jest](https://github.com/facebook/jest) from 27.2.0 to 27.2.2.
- [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.2.0...v27.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:38:49 +02:00
Erik Jan de Wit
a74921b914
fix select paging issue (#1237)
fixes: #1213
2021-09-27 10:38:07 +02:00
dependabot[bot]
23178d8c66 Bump @types/react-router-dom from 5.1.9 to 5.3.0
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.9 to 5.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

---
updated-dependencies:
- dependency-name: "@types/react-router-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:37:31 +02:00
Stan Silvert
1432b2712b
Temporary fix for group tests. (#1223) 2021-09-26 12:41:42 +02:00
Jenny
642503e26a
Identity Providers(mappers): fix help text (#1212)
* fix help text for mapper types

* fix name field

* address PR feedback from mark and  add help text for all mapper types

* fix attribute importer help text
2021-09-24 16:27:44 -04:00
mfrances17
80ed33e832
add stored tokens readable to oidc (#1221) 2021-09-24 18:09:44 +02:00
Sven-Torben Janus
7c0d10130e KEYCLOAK-18981 Infinispan: prevent fetching all sessions from remotes 2021-09-24 17:34:01 +02:00
Jon Koops
4d23bed065
Clean up workflows a little (#1211) 2021-09-24 15:47:36 +02:00
Jon Koops
668e20795b
Run the Cypress tests on master of Keycloak Server (#1207) 2021-09-24 08:41:34 -04:00
Stefan Guilhen
271033c3a4 [KEYCLOAK-19102] Replace usages of deprecated setAllowNull(boolean) calls in the adapters subsystems with setRequired(boolean)
- WildFly will remove deprecated APIs, code needs to be changed before the next WildFly upgrade.
2021-09-24 13:01:50 +02:00
agagancarczyk
bd423c4bbe
Create profile (#1218)
* create-client-profile: creating client profile wip

* create-profile: added deleting profile

* create-profile: add executors - wip

* create-profile: add executors - wip

* create-profile: add executors - wip

* create-profile: add executors - wip

* create-profile: added testId for tests

* create-profile: added cypress tests for client profiles

* Update cypress/support/pages/admin_console/manage/realm_settings/RealmSettingsPage.ts

marking fields as private

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

* Update src/realm-settings/NewClientProfileForm.tsx

removing async (not needed)

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

* feedback fixes

* Update src/realm-settings/NewClientProfileForm.tsx

new router link implementation

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

* simplify ClientProfile type

* align form type with model

* do not delete

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-24 11:46:01 +01:00
Pedro Igor
10e425315f [KEYCLOAK-19274] - Avoid loading queries from properties at runtime for Dist.X 2021-09-24 09:26:43 +02:00
Erik Jan de Wit
b7ebd3260b
added subflow and create flow to authentication (#1198)
* added subflow and create flow to authentication

* fixed types
2021-09-23 17:06:58 +02:00
Erik Jan de Wit
8a9f96e53a
fixes issue with selected locals (#1200)
fixes: #1179
2021-09-23 16:15:37 +02:00
Jon Koops
453b5a07e7
Add editMode as a required field (#1209) 2021-09-23 16:11:41 +02:00
Jenny
bef9539389
Realm Settings(Client Policies): Add policies list (#1201)
* wip client policies: policies tab

* wip switches

* wip client policies: policies tab

* client policies list

* package.json

* revert to enabled
2021-09-23 09:41:29 -04:00
Erik Jan de Wit
8fc517f2a0
fix the name of the fields introduced test (#1199)
* fix the name of the fields introduced test

fixes: #1182

* changed to use display none to hide fields
2021-09-23 09:48:23 +02:00
Jenny
83d5624bf4
Identity Providers(Mappers): Edit mappers (#1140)
* rebase

dont fetch rolesbyID if mapperId

save attributes

fix cypress test

cypress test updates

fix cancel route

route fix with Erik

Apply suggestions from Jon's code review

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

pr feedback from jon

remove unused import

* usefindbytestid

* PR feedback from Jon

* fix tests

* fix save bug and feedback from Jon

* remove unnecessary type

* fix cypress test
2021-09-22 16:27:30 -04:00
Daniel Fesenmeyer
339224578e KEYCLOAK-10603 adjust assignments to roles (user-role and group-role assignments, client-scope and client "scope mappings"): allow assignments of roles which are already indirectly assigned (e.g. by composite role)
- extend RoleMapperModel with method hasDirectRole(RoleModel), which only checks for direct assignment in contrast to the existing method hasRole(RoleModel)
- extend ScopeContainerModel with method hasDirectScope(RoleModel), which only checks for direct scope mapping in contrast to the existing method hasScope(RoleModel)
- use the new hasDirectRole and hasDirectScope methods to check whether a role is in the "available" list and whether it can be assigned (previously, the hasRole method was used for this purpose)
- add hint to UI that available roles contain effectively assigned roles which are not directly assigned
- adjust and extend tests
2021-09-22 13:56:29 +02:00
Erik Jan de Wit
809247a686
changed to use code editor (#1161)
* changed to use code editor

* Update src/components/json-file-upload/JsonFileUpload.tsx

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

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-22 10:54:53 +02:00
Erik Jan de Wit
34e9d7a3ca
added description on new client scope screen (#1203) 2021-09-22 10:35:02 +02:00
AndyMunro
e15ebe8306 admin-reuse -- Found one more Data Grid link to fix based on a separate PR. 2021-09-21 08:58:46 +02:00
Andy Munro
26087f0ece Correcting capitalization 2021-09-21 08:58:46 +02:00
AndyMunro
2e8827cf1a Resolving conflicts 2021-09-21 08:58:46 +02:00
Andy Munro
2cb26dd703 Fixing topics.adoc and cross-references 2021-09-21 08:58:46 +02:00
Andy Munro
a0b31dced3 minor corrections to duplicate text and wording 2021-09-21 08:58:46 +02:00
Andy Munro
c2fdee2d2d Resolved conflicts 2021-09-21 08:58:46 +02:00
Stefan Sitani
90cd689e59 fix build issues: add attributes+ on codeblocks to prevent XML parsing error, fix anchor ID problems due to duplicate titles (#60)
WORKAROUND: replace xref target with link anchor that actually show up in the XML after conversion
2021-09-21 08:58:46 +02:00
Andy Munro
d11312c618 correction to themes 2021-09-21 08:58:46 +02:00
Andy Munro
66a884b244 integrated latest changes into new files 2021-09-21 08:58:46 +02:00