-
Notifications
You must be signed in to change notification settings - Fork 7.9k
fix: adds additional info / warnings to hostname v2 #33261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
closes: keycloak#24815 Signed-off-by: Steve Hawkins <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.LevelOfAssuranceFlowTest#testWithOTPAndRecoveryCodesAtLevel2Keycloak CI - Forms IT (chrome) |
Signed-off-by: Steve Hawkins <[email protected]>
|
Added some refinements to #33209 on this pr as well - it can be done as a separate one if desired. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.registration.PolicyJsInjectionTest#requireResidentKeyKeycloak CI - WebAuthn IT (chrome) org.keycloak.testsuite.webauthn.registration.ResidentKeyRegisterTest#residentKeyNotRequiredNoRKKeycloak CI - WebAuthn IT (chrome) org.keycloak.testsuite.webauthn.registration.passwordless.PwdLessResidentKeyRegTest#residentKeyNotRequiredPresentKeycloak CI - WebAuthn IT (chrome) |
Signed-off-by: Steve Hawkins <[email protected]>
| } | ||
|
|
||
|
|
||
| List<String> inUse = REMOVED_OPTIONS.stream().filter(s -> config.get(s) != null).toList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shawkins I believe this won't work as the config provider here has a scope that only contains options starting with kc.spi-hostname-v2-. The old options had a prefix of kc.spi-hostname-default-.
Since we don't have access to all config options through the SmallRye Config here, we have move it somewhere to quarkus module I'm afraid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we don't have access to all config options through the SmallRye Config here, we have move it somewhere to quarkus module I'm afraid.
Right, forgot about the spi mapping. I'll move it.
Signed-off-by: Steve Hawkins <[email protected]>
vmuzikar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shawkins Just some typos. I don't want to block this PR due to these nitpicks, so merge it manually if necessary.
.../main/java/org/keycloak/quarkus/runtime/configuration/mappers/HostnameV2PropertyMappers.java
Outdated
Show resolved
Hide resolved
...kus/runtime/src/main/java/org/keycloak/quarkus/runtime/cli/command/AbstractStartCommand.java
Show resolved
Hide resolved
…figuration/mappers/HostnameV2PropertyMappers.java Co-authored-by: Martin Bartoš <[email protected]> Signed-off-by: Steven Hawkins <[email protected]>
Signed-off-by: Steven Hawkins <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.WebAuthnPropertyTest#requiredActionRegistrationKeycloak CI - WebAuthn IT (chrome) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.WebAuthnPropertyTest#requiredActionRegistrationKeycloak CI - WebAuthn IT (chrome) |
closes: #24815