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

BlueOcean doesn't redirect to login page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None

      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.

       

            Unassigned Unassigned
            shantur Shantur Rathore
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: