Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2339

JavascriptAdapterTest errors when running with strict cookies on Firefox [GHI#23732]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] I have searched existing issues
      [X] I have reproduced the issue with the latest nightly release

      Area

      adapter/javascript

      Describe the bug

      When running the -Pfirefox-strict-cookies profile, JavascriptAdapterTest has a bunch of failures and errors, probably all related to the same root cause.

      Version

      latest

      Expected behavior

      Tests pass successfully

      Actual behavior

      Sample error:

      [ERROR] JavascriptAdapterTest.testSilentCheckSsoWithFallbackDisabled:199->AbstractJavascriptTest.assertOnLoginPage:170 ยป ConditionTimeout Assertion condition defined as a org.keycloak.testsuite.util.URLAssert URL expected to begin with: https://auth-server-127-0-0-1.nip.io:8543/auth/realms/test/protocol/openid-connect/auth ; actual URL: https://localhost:8543/auth/realms/test/protocol/openid-connect/auth?client_id=js-console&redirect_uri=https%3A%2F%2F127.0.0.1.sslip.io%3A8543%2Fauth%2Frealms%2Ftest%2Ftesting%2Fjavascript%2Findex.html&state=1c787b14-5031-4bec-8a79-7f40cdcfe9d2&response_mode=fragment&response_type=code&scope=openid&nonce=ba5991a8-f229-4a3a-aaf1-13fdf9fef8fb within 10 seconds.

      How to Reproduce?

      mvn -f testsuite/integration-arquillian/tests/base/pom.xml clean install -Pauth-server-quarkus -Pfirefox-strict-cookies -Dauth.server.host=auth-server-127-0-0-1.nip.io -Dauth.server.host2=127.0.0.1.sslip.io -Dtest=JavascriptAdapterTest

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Core Clients
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: