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

Portal Home page (pointing to private area) returns 404 instead of redirecting to login

Details

    Description

      1. Create a new site My Site
      2. Create new public Login widget page in this new site and put Login portlet to it 
      3. Go to Instance settings > Instance configuration
        Home URL: /group/my-site/home
        Default Landing Page: /group/my-site/home
        Default Logout Page: /web/my-site/login
      4. Add portal-ext.properties
        auth.login.url=/web/my-site/login

      The behavior from 6.2 up to 7.4 (exclusive) was:

      1. On portal start the private page /group/my-site/home was called
      2. It triggered automatic redirect to the login page /web/my-site/login
      3. After login the user was redirected to that private page /group/my-site/home

      In 7.4:

      1. On portal start the private page /group/my-site/home is called
      2. It returns 404 because user is not authenticated (no redirection to the login page is invoked)

      I've tried various combinations and I can't achieve the original behavior.

       

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            honyk Jan Tošovský
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              31 weeks, 6 days ago

              Packages

                Version Package