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

Don't working Blueocean with JWT

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If enable BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true UI Blueocean don't working.

      Use docker-compose config:

      services:
        jenkins:
          image: jenkins/jenkins:2.107.1
          environment:
            JAVA_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
          restart: unless-stopped
          volumes:
          - jenkins_data:/var/jenkins_home
      version: '3'
      volumes:
        jenkins_data: {}
      
      

        Attachments

          Activity

          haos616 Denis Podlesniy created issue -
          haos616 Denis Podlesniy made changes -
          Field Original Value New Value
          Description If enable BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true UI Blueocean don't working. If enable *BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true* UI Blueocean don't working.

          Use docker-compose config:
          {code}
          services:
            jenkins:
              image: jenkins/jenkins:2.107.1
              environment:
                JAVA_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
                JENKINS_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
              labels:
              - traefik.backend=backend-jenkins
              - traefik.frontend.rule=Host:ci.ds.inprogress.rocks
              - traefik.enable=true
              - traefik.port=8080
              restart: unless-stopped
              volumes:
              - jenkins_data:/var/jenkins_home
          version: '3'
          volumes:
            jenkins_data: {}

          {code}
          haos616 Denis Podlesniy made changes -
          Description If enable *BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true* UI Blueocean don't working.

          Use docker-compose config:
          {code}
          services:
            jenkins:
              image: jenkins/jenkins:2.107.1
              environment:
                JAVA_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
                JENKINS_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
              labels:
              - traefik.backend=backend-jenkins
              - traefik.frontend.rule=Host:ci.ds.inprogress.rocks
              - traefik.enable=true
              - traefik.port=8080
              restart: unless-stopped
              volumes:
              - jenkins_data:/var/jenkins_home
          version: '3'
          volumes:
            jenkins_data: {}

          {code}
          If enable *BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true* UI Blueocean don't working.

          Use docker-compose config:
          {code:java}
          services:
            jenkins:
              image: jenkins/jenkins:2.107.1
              environment:
                JAVA_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
                JENKINS_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
              restart: unless-stopped
              volumes:
              - jenkins_data:/var/jenkins_home
          version: '3'
          volumes:
            jenkins_data: {}

          {code}
          haos616 Denis Podlesniy made changes -
          Attachment Screencast 2018-03-25 02.52.23.mp4 [ 41955 ]
          haos616 Denis Podlesniy made changes -
          Assignee Denis Podlesniy [ haos616 ]
          haos616 Denis Podlesniy made changes -
          Assignee Denis Podlesniy [ haos616 ]
          haos616 Denis Podlesniy made changes -
          Description If enable *BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true* UI Blueocean don't working.

          Use docker-compose config:
          {code:java}
          services:
            jenkins:
              image: jenkins/jenkins:2.107.1
              environment:
                JAVA_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
                JENKINS_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
              restart: unless-stopped
              volumes:
              - jenkins_data:/var/jenkins_home
          version: '3'
          volumes:
            jenkins_data: {}

          {code}
          If enable *BLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true* UI Blueocean don't working.

          Use docker-compose config:
          {code:java}
          services:
            jenkins:
              image: jenkins/jenkins:2.107.1
              environment:
                JAVA_OPTS: "-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true"
              restart: unless-stopped
              volumes:
              - jenkins_data:/var/jenkins_home
          version: '3'
          volumes:
            jenkins_data: {}

          {code}
          haos616 Denis Podlesniy made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          haos616 Denis Podlesniy made changes -
          Labels REST blueocean
          haos616 Denis Podlesniy made changes -
          haos616 Denis Podlesniy made changes -
          haos616 Denis Podlesniy made changes -
          Hide
          enricodev Enrico Pelizzon added a comment -

          Having the same issue. It seems to be caused by an old version of the buffer library being included in the core-js bundle. This results in the public key (returned by the server after the call to get the JWT token) not being processed correctly when trying to verify the JWT signature. 

          Show
          enricodev Enrico Pelizzon added a comment - Having the same issue. It seems to be caused by an old version of the buffer  library being included in the core-js bundle. This results in the public key (returned by the server after the call to get the JWT token) not being processed correctly when trying to verify the JWT signature. 

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            haos616 Denis Podlesniy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: