Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56635

BlueOcean doesn't redirect to login page

    Details

    • Similar Issues:

      Description

      Bug: BlueOcean doesn't redirect to login when opening a direct link to a job which is only visible to logged in users. It shows Page Not found 404 message instead.

      Classic UI redirects to Login page correctly

      This happens whenever user is logged out and a direct link is used for a job like from commit status in Github.

       

      Steps to reproduce:

      1. Setup jenkins instance with security. Use Matrix based authorization plugin to give Anonymous User : Overall Read and Jobs Discover permissions. Authenticated users can have any access for now set it to Overall Admin
      2. Create any job with pipelines and run it. 
      3. Goto Job run in BlueOcean and copy the direct link from browser address bar.
      4. Logout or use Incognito mode and navigate to the direct link.

       

      Expected: BlueOcean redirects user to login screen.

       

      Actual : BlueOcean displays : Page Not Found 404 error message.

      Works fine in classic ui.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              shantur Shantur Rathore
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: