Skip to content

Conversation

@rmartinc
Copy link
Contributor

Closes #31780

The singleLogoutServiceUrl was parsed related to the singleSignOnServiceUrl. The logout url was forced to use the same binding than the singon url (don't know why, maybe some historic reason, previous configuration options or similar). The PR just modifies the parsing to make singleLogoutServiceUrl/postBindingLogout independent of singleSignOnServiceUrl/postBindingResponse. Now they can use different bindings. As usual POST is preferred in both if available. Test added.

@rmartinc
Copy link
Contributor Author

rmartinc commented Aug 1, 2024

The failed test is because of #31828. It seems to be a known bug. I can rebase the PR when fixed.

@rmartinc
Copy link
Contributor Author

rmartinc commented Aug 1, 2024

Rebased now the issue seems to be fixed.

Copy link

@keycloak-github-bot keycloak-github-bot bot left a 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

@keycloak-github-bot
Copy link

Unreported flaky test detected

If 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.BruteForceTest#testRaceAttackPermanentLockout

Keycloak CI - Forms IT (firefox)

java.lang.AssertionError: Invalid count should be less than or equal 2 but was: 3
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.keycloak.testsuite.forms.BruteForceTest.raceAttack(BruteForceTest.java:820)
	at org.keycloak.testsuite.forms.BruteForceTest.testRaceAttackPermanentLockout(BruteForceTest.java:790)
...

Report flaky test

Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmartinc Thanks!

@mposolda mposolda merged commit 773e309 into keycloak:main Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SAML IdP configure does not parse IdP metadata.xml correctly

2 participants