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

Regression: JWT token not present when logged in on blueocean.io

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • pacific, 1.0-b05/b-06

      Steps to reproduce

      1. Login via ci.blueocean.io/
      2. Browse to ci.blueocean.io/blue
      3. The dashboard will not load and there will be an error in the console (see screenshot)

      If you logout and revisit ci.blueocean.io/blue then the dashboard loads

          [JENKINS-37837] Regression: JWT token not present when logged in on blueocean.io

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Rank New: Ranked higher

          Michael Neale added a comment - - edited

          This is on chrome I believe:
          In inspector:

          https://ci.blueocean.io/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26

          returns:

          <html><head><meta http-equiv='refresh' content='1;url=/securityRealm/commenceLogin?from=%2Fblue%2Frest%2Fsearch%2F%3Fq%3Dtype%3Apipeline%3BexcludedFromFlattening%3Ajenkins.branch.MultiBranchProject%2Chudson.matrix.MatrixProject%26filter%3Dno-folders%26start%3D0%26limit%3D26'/><script>window.location.replace('/securityRealm/commenceLogin?from=%2Fblue%2Frest%2Fsearch%2F%3Fq%3Dtype%3Apipeline%3BexcludedFromFlattening%3Ajenkins.branch.MultiBranchProject%2Chudson.matrix.MatrixProject%26filter%3Dno-folders%26start%3D0%26limit%3D26');</script></head><body style='background-color:white; color:white;'>
          
          
          Authentication required
          <!--
          -->
          
          </body></html>    
          

          Michael Neale added a comment - - edited This is on chrome I believe: In inspector: https://ci.blueocean.io/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26 returns: <html><head><meta http-equiv='refresh' content='1;url=/securityRealm/commenceLogin?from=%2Fblue%2Frest%2Fsearch%2F%3Fq%3Dtype%3Apipeline%3BexcludedFromFlattening%3Ajenkins.branch.MultiBranchProject%2Chudson.matrix.MatrixProject%26filter%3Dno-folders%26start%3D0%26limit%3D26'/><script>window.location.replace('/securityRealm/commenceLogin?from=%2Fblue%2Frest%2Fsearch%2F%3Fq%3Dtype%3Apipeline%3BexcludedFromFlattening%3Ajenkins.branch.MultiBranchProject%2Chudson.matrix.MatrixProject%26filter%3Dno-folders%26start%3D0%26limit%3D26');</script></head><body style='background-color:white; color:white;'> Authentication required <!-- --> </body></html>

          Michael Neale added a comment -

          This seems to be due to github oauth plugin blocking things right vivek?

          Michael Neale added a comment - This seems to be due to github oauth plugin blocking things right vivek ?

          Vivek Pandey added a comment -

          michaelneale hard to say as this is only chrome specific, dashboard loads fine in Safari.

          Vivek Pandey added a comment - michaelneale hard to say as this is only chrome specific, dashboard loads fine in Safari.

          Michael Neale added a comment -

          vivek interesting, in safari it won't load pipelines though.. so neither is quite right so probably not github oauth related only.

          Michael Neale added a comment - vivek interesting, in safari it won't load pipelines though.. so neither is quite right so probably not github oauth related only.

          Thorsten Scherler added a comment - - edited

          In the AT SE I see a signature issue that I had not before, but may be related?

          https://ci.blueocean.io/job/Acceptance%20Test%20PR/37/console
          com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - Error: Signature author is required.
          2016-08-31 10:04:41,100 [Thread-4] ERROR (InputStreamHandler.java:60) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - at Error (native)
          2016-08-31 10:04:41,100 [Thread-4] ERROR (InputStreamHandler.java:60)

          Thorsten Scherler added a comment - - edited In the AT SE I see a signature issue that I had not before, but may be related? https://ci.blueocean.io/job/Acceptance%20Test%20PR/37/console com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - Error: Signature author is required. 2016-08-31 10:04:41,100 [Thread-4] ERROR (InputStreamHandler.java:60) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - at Error (native) 2016-08-31 10:04:41,100 [Thread-4] ERROR (InputStreamHandler.java:60)
          Vivek Pandey made changes -
          Assignee Original: Ivan Meredith [ imeredith ] New: Vivek Pandey [ vivek ]

            vivek Vivek Pandey
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: