Commit graph

21741 commits

Author SHA1 Message Date
Luca Leonardo Scorcia
553514707e
KEYCLOAK-16428 Move certificate timestamp validation configuration to CertificateValidatorBuilder (#7634) 2021-01-12 20:52:34 +01:00
ltressens
0fecf1546a
KEYCLOAK-16790 Attempt to translate 'impersonate' 2021-01-12 20:30:59 +01:00
Aboullos
daec4957f2
Add cypress framework (#271)
* Add cypress framework

* Add PR change requests

* Add initial .yml file for cypress tests

* Modify Run Keycloak line

* Modify Run Keycloak lines

* Modify Cypress test run

* Modify wait times

* Add more time

* Modify yarn start to npx http-server

* Try Cypress separate step

* Add test to set new admin console

* Modify uses to run

* Change yarn to npx http-server

* Add parameter to npx http-server

* Trigger GitHub actions

* Trigger GitHub actions

* Modify client_scope test messages

* Set headless mode

* Add steps to store artifacts

* Modify .yml

* Rebase onto realm fix and update real role message

* Update yaml file for artifact upload
2021-01-12 12:04:52 -05:00
Jan Lieskovsky
7069ff35af [KEYCLOAK-16763] Upgrade to WildFly 21.0.2.Final
Signed-off-by: Jan Lieskovsky <jlieskov@redhat.com>
2021-01-12 17:42:51 +01:00
Erik Jan de Wit
ce0ce6d59e
Sub group navigation in groups section (#274)
* list sub group of a group using the id

* introduced group bread crumb component to render

this builds up the groups as you click to subgroups

* added deeplinking

* fixed route config types

* fixed new realm prefix

* added null checks for if group not found

* changed labes to groups
2021-01-12 09:00:44 -05:00
Erik Jan de Wit
bbfccea940
Evaluate tab clients client-scopes (#263)
* created scope picker

* added user select

* added evaluate function

* added the tabs

* added generated token

* added useFetch

* fixed formating after merge

* fixed the tabs layout

Co-authored-by: srambach

* added space between tabs and content

* added help into text
2021-01-12 08:16:35 -05:00
Erik Jan de Wit
dba53a01b3
update who am i on realm create as we need the accessTypes (#276)
* whoAmI has the realm access information
so when a new realm is created the whoAmI request has to be done again

* fixed "add realm" button

* remove debug

* refactor

* also force token update

* refresh realm list on realm change
2021-01-12 07:39:37 -05:00
Vinod Anandan
acbb229d19 Minor typo fix 2021-01-12 11:24:16 +01:00
Takashi Norimatsu
5f445ec18e KEYCLOAK-14200 Client Policy - Executor : Enforce Holder-of-Key Token
Co-authored-by: Hryhorii Hevorkian <hhe@adorsys.com.ua>
2021-01-12 11:21:41 +01:00
Yoshiyuki Tabata
ab1dba5fa6 KEYCLOAK-11908 Support for conditional creating indices based on number
of records
2021-01-12 09:06:27 +01:00
Yoshiyuki Tabata
3dec29f789 KEYCLOAK-11908 Support for conditional creating indices based on number 2021-01-12 09:06:04 +01:00
Erik Jan de Wit
be2268df2f
only add isDisabled when needed otherwise (#289)
as before it would override an existing isDisabled
2021-01-11 19:43:32 -05:00
mfrances17
853fd2c220
Merge pull request #275 from srambach/user-fed-wizard
User fed wizard
2021-01-11 16:50:39 -05:00
mfrances17
ef0dd869e4
Merge pull request #264 from jenny-s51/attributes-functionality
Adds functionality to attributes tab of realm roles section
2021-01-11 16:49:39 -05:00
jenny-s51
74a5bfb7cc prettier 2021-01-11 16:28:15 -05:00
jenny-s51
453d37f815 fix formaccess role 2021-01-11 16:27:13 -05:00
jenny-s51
960e43a7d9 rebase and resolve conflicts 2021-01-11 16:22:58 -05:00
jenny-s51
8ef7bd7ddb WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix formatting

remove !important

Update RealmRolesSection.css

Update src/realm-roles/RoleAttributes.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

address PR feedback from Sarah and Erik

fix paths and use error msg from response

remove log stmt

fix lint

remove minLength
2021-01-11 16:19:22 -05:00
jenny-s51
5d7d2b5636 add role attributes, WIP 2021-01-11 16:15:12 -05:00
Sarah Rambacher
dc08e13833 remove unused helpText 2021-01-11 16:07:42 -05:00
Sarah Rambacher
c3a11434c4 remove modal header on wizard 2021-01-11 16:07:42 -05:00
Sarah Rambacher
ac65df58b8 fix spacing of wizard section header 2021-01-11 16:07:42 -05:00
Sarah Rambacher
7cea09ef8a rebase on user federation wizard screens (storybook) 2021-01-11 16:07:30 -05:00
Sarah Rambacher
006356d9e3 adds wizard buttons 2021-01-11 16:04:56 -05:00
Sarah Rambacher
cc2dd3e512 adds user federation kerberos wizard 2021-01-11 16:04:56 -05:00
Erik Jan de Wit
84ad3853a8
move common cell formatters to util functions (#278)
* move common cell formatters to util functions

* renamed ExternalLink FormattedLink
2021-01-11 14:29:52 -05:00
Erik Jan de Wit
feca61d2b0
renamed useFetch to asyncStateFetch (#277)
* renamed `useFetch` to `asyncStateFetch`

otherwise React will mistake it for a react hook and will complain.

* added jsdoc

* fixed the user red stories

* renamed
2021-01-11 13:56:19 -05:00
Takashi Norimatsu
f423c0dc51 KEYCLOAK-16249 Client Policy - Condition : Client - Any Client 2021-01-08 17:29:50 +01:00
vramik
7ad57a47ca KEYCLOAK-14846 default roles processing 2021-01-08 13:56:05 +01:00
vramik
1402d021de KEYCLOAK-14846 Default roles processing 2021-01-08 13:55:48 +01:00
Erik Jan de Wit
1763ee1a50
added delete client scope functionality (#272)
* added delete client scope functionality

* use error message from the response
2021-01-07 13:34:59 -05:00
Erik Jan de Wit
e6fa093925
small refactor to set realm from path (#282) 2021-01-07 09:56:14 -05:00
stianst
2aaceeab7e KEYCLOAK-16635 Upload release to GitHub instead of jboss downloads 2021-01-06 12:02:11 +01:00
Takashi Norimatsu
05dfac75ca KEYCLOAK-14202 Client Policy - Executor : Enforce secure signature algorithm for Signed JWT client authentication
Co-authored-by: Andrii Murashkin <amu@adorsys.com.ua>
2021-01-06 08:58:20 +01:00
dependabot-preview[bot]
516c51ee05
[Security] Bump axios from 0.21.0 to 0.21.1 (#273)
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1. **This update includes a security fix.**
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-05 15:02:52 -05:00
Erik Jan de Wit
db4f7851fb
refresh and message on group delete (#270)
fixing: #129
2021-01-05 14:56:16 -05:00
Erik Jan de Wit
c1282b2973
onEnter should not post the form (#269)
* onEnter should not post the form

fixing: #257

* added focus to input field

* fixed button
2021-01-05 14:53:01 -05:00
Erik Jan de Wit
b14027ccb7
Use realm name in urls (#265)
* remove circular dependency on realm context

* added realm as a param of the url

* updated links to include realm

* null !== undefined

* set realm if realm in url

* fixed breadcrumb type

* fixed tests

* addressed pr review comments
2021-01-05 14:49:33 -05:00
Pedro Igor
ca7c866eb4 [KEYCLOAK-16668] - Error when creating admin user when starting Keycloak.x for the first time 2021-01-05 15:19:52 -03:00
Thomas Darimont
1a7600e356
KEYCLOAK-13923 Support PKCE for OIDC based Identity Providers (#7381)
* KEYCLOAK-13923 - Support PKCE for Identity Provider

We now support usage of PKCE for OIDC based Identity Providers.

* KEYCLOAK-13923 Warn if PKCE information cannot be found code-to-token request in OIDCIdentityProvider

* KEYCLOAK-13923 Pull up PKCE handling from OIDC to OAuth IdentityProvider infrastructure

* KEYCLOAK-13923 Adding test for PKCE support for OAuth Identity providers

* KEYCLOAK-13923 Use URI from KeycloakContext instead of HttpRequest

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

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2021-01-05 10:59:59 -03:00
Erik Jan de Wit
27d9dadee7
only update state when component is mounted (#266)
* only update state when component is mounted

* removed unused import

* `useFetch` function to update state when mounted
2021-01-05 08:39:27 -05:00
mposolda
d4a36d0d9c KEYCLOAK-16350 invalid_scope error response should be displayed for openid-connect/auth 2021-01-05 12:55:53 +01:00
vramik
dfa27b9f0f KEYCLOAK-14856 fix migration, add ssl for migration server 2021-01-05 11:05:18 +01:00
Réda Housni Alaoui
24522c298e
KEYCLOAK-16657 New Account Console: missing french translation (#7688) 2021-01-04 14:17:53 -05:00
Réda Housni Alaoui
c917ae5ded KEYCLOAK-16652 New Account Console: When langage is not english, no user name displayed at the upper right 2021-01-04 09:04:46 -05:00
Sven-Torben Janus
4652fd4fcd KEYCLOAK-16540 X.509 Authentication logs Exception when no client cert
When no client cert is present the variable clientCert is null. In this
case the log statement leads to a NPE which then gets logged as an
error.
2021-01-04 10:55:21 +01:00
Jiri Lunacek
d70de48ba9 KEYCLOAK-16605 add localpart username template transformer 2021-01-04 06:30:41 +01:00
mfrances17
03e7ec760c
Show/hide Kerberos cache policy related controls (#267)
* preliminary usewatch changes

* show hide working

* fix switches with form access

* make auth-pw control edit mode
2020-12-18 10:20:11 +01:00
Hynek Mlnarik
8af4a5fc85 KEYCLOAK-16648 Fix migration to 12 2020-12-18 08:58:59 +01:00
Erik Jan de Wit
f9c44c0953
initial version of the sessions sectino (#260) 2020-12-18 08:01:35 +01:00