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

Enabling JWT doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • blueocean-plugin
    • Jenkins version: 2.95
      Blueocean plugin version: 1.3.5
      Running from jenkins/jenkins docker image

    Description

      I wanted to enable JWT access to the blueocean APIs so I read the security section in the README which says to set a system property, which I did as you can see in the screenshot. After doing this and even restarting Jenkins nothing changes (the system property is there even after restart). The blueocean dashboard still uses cookies. You can try this for yourself by runningĀ 

      docker run --rm -p 8080:8080 -p 50000:50000 --env JAVA_OPTS="-DFEATURE_BLUEOCEAN_JWT_AUTHENTICATION=true" jenkins/jenkins:latest
      

      Attachments

        Issue Links

          Activity

            jamesdumay James Dumay added a comment -

            petoknm its still a work in progress. See JENKINS-37913 for more information. If you'd like to help out, PRs are accepted

            jamesdumay James Dumay added a comment - petoknm its still a work in progress. See JENKINS-37913 for more information. If you'd like to help out, PRs are accepted

            People

              Unassigned Unassigned
              petoknm Peter Majchrak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: