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

[GHI#27120] Microsoft social login failure

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      testsuite

      Describe the bug

      The Microsoft social login is failing due to HTML element changes of the Microsoft login page.

      Version

      latest

      Regression

      [ ] The issue is a regressions

      Expected behavior

      Login via Microsoft social login.

      Actual behavior

      The login flow fails due to modified HTML element. A button in the stay signed in dialog has a different attribute.

      How to Reproduce?

      1. Set up the Microsoft application according to the documentation

      https://www.keycloak.org/docs/latest/server_admin/index.html#_microsoft
      

      3. Prepare social.properties file containing the required variables (e.g., Client ID, Client Secret, ...)
      4. Run the testsuite with following command with your custom social.properties file
      ```
      $ mvn -f testsuite/integration-arquillian/pom.xml clean install \

        -Dtest=SocialLoginTest#microsoftLogin \
        -Dsocial.config=path\to\social.properties \
        -Dbrowser=chrome
      

      ```

      Anything else?

      No response

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

                Created:
                Updated:
                Resolved: