Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67375

Facebook autologin not working with unchecked option "Allow Strangers to create account"

    Details

      Description

      Description

      Deselecting the "Allow Strangers to create account" will fail to redirect existing users from signing in with Facebook SSO.

      Step to Reproduce
      1) Start portal
      2) Enable facebook login and Provide Application Id and Application Secret. Credentials and instructions can be found on LPP-21965.
      3) Log in with a Facebook account
      4) Verify the user successfully logs in and is added to the user table
      5) As the admin user, uncheck - "Allow Strangers to create account" from Control Panel -> Portal Setting -> Authentication -> General.
      6) Try to login with the same Facebook account

      Expected Results
      Since the user belongs to the portal, the popup window is closed and the main window is redirected to the home page (portal reacts the same way as before the checkbox was unchecked).

      Actual Results
      The popup window becomes blank, a JS error is thrown, and the page is not redirected (although the user is logged in).

      Reproducible in Master: Yes, 5f613f57f6b346abacb6

      Reproducible in 7.0.x: Yes, 629c9dd4bab69c9e7a04

      Reproducible in 6.2.x: Yes, 221d5e095c6b17deddac

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  18 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.0.X
                  Master