• 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.

       

          [JENKINS-56635] BlueOcean doesn't redirect to login page

          Timothy Bell added a comment -

          Can anyone look at this? Why have these tickets been left open for 2 years?

          Timothy Bell added a comment - Can anyone look at this? Why have these tickets been left open for 2 years?

          cyril dioli added a comment -

          Very annoying and misleading bug, that would great value to share blueOcean links, today its just impossible

          cyril dioli added a comment - Very annoying and misleading bug, that would great value to share blueOcean links, today its just impossible

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

              Created:
              Updated: