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

with GitHub OAuth plugin 0.31->0.32 Matrix-based security errors

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • github-oauth-plugin
    • Jenkins 2.178 from docker jenkins/jenkins.
      GitHub Authentication plugin 0.32
      Matrix Authorization Strategy Plugin 2.4.2
      behind jwilder/nginx-proxy:0.6.0

      After upgrading GitHub OAuth plugin 0.31->0.32 I had errors at the Matrix-based security interface (Manage Jenkins->Configure Global Security)

      "ERROR" instead of users names.

      Click on "ERROR" show full error message:


      HTTP ERROR 403

      Problem accessing /jenkins/descriptorByName/hudson.security.GlobalMatrixAuthorizationStrategy/checkName. Reason:

      Forbidden


      I can't add new user. After "applay" i had error page":


      HTTP ERROR 403

      Problem accessing /jenkins/configureSecurity/configure. Reason:

      No valid crumb was included in the request


       

      Authentication itself work well.

          [JENKINS-57595] with GitHub OAuth plugin 0.31->0.32 Matrix-based security errors

          D.Schneider added a comment -

          Can we please get an ETA for resolving this issue?  We're currently blocked with setting up a new Jenkins server because we're not able to revert back to an earlier version of the plug-in.  Until this is resolved we can't set up user roles on the new server.

          D.Schneider added a comment - Can we please get an ETA for resolving this issue?  We're currently blocked with setting up a new Jenkins server because we're not able to revert back to an earlier version of the plug-in.  Until this is resolved we can't set up user roles on the new server.

          Kevin Nelson added a comment -

          This is happening on my install as well.  I'm raising the priority to Blocker, since it is currently impacting our organization's ability to use Jenkins at all.

          Kevin Nelson added a comment - This is happening on my install as well.  I'm raising the priority to Blocker, since it is currently impacting our organization's ability to use Jenkins at all.

          Kevin Nelson added a comment - - edited

          To clarify our symptoms a bit:

          We're using Jenkins 2.176.1 (LTS), the GitHub Authentication 0.32 plugin with a GitHub Enterprise install, and Matrix Authorization Strategy Plugin 2.4.2.  I'm able to configure the GitHub integration successfully, and use "Logged-in users can do anything" without issue.  I can save this, reload the page and everything works fine.

          When I select the Matrix-based security radio, I am able to add exactly one user, and set all permissions, and save successfully.  When I try to add more than one user, or when I try to add subsequent users after the first one, I am hit with the "No valid crumb was included in the request" error.

          Kevin Nelson added a comment - - edited To clarify our symptoms a bit: We're using Jenkins 2.176.1 (LTS), the GitHub Authentication 0.32 plugin with a GitHub Enterprise install, and Matrix Authorization Strategy Plugin 2.4.2.  I'm able to configure the GitHub integration successfully, and use "Logged-in users can do anything" without issue.  I can save this, reload the page and everything works fine. When I select the Matrix-based security radio, I am able to add exactly one user, and set all permissions, and save successfully.  When I try to add more than one user, or when I try to add subsequent users after the first one, I am hit with the "No valid crumb was included in the request" error.

          Have exact same issue as rknla

          Mārtiņš Jakubovičs added a comment - Have exact same issue as rknla

          We are having exactly the same issue as Kevin Nelson described.

          Stanislav Zapolsky added a comment - We are having exactly the same issue as Kevin Nelson described.

          Exact same issue here too, with same versions.
          0.32 of Github Authentication.
          2.4.2 of Matrix Authorization.

          Aðalsteinn Rúnarsson added a comment - Exact same issue here too, with same versions. 0.32 of Github Authentication. 2.4.2 of Matrix Authorization.

          Roee Rakovsky added a comment - - edited

          Have the exact problem - please fix ! 

          Currently reverted to oauth 0.31

          Roee Rakovsky added a comment - - edited Have the exact problem - please fix !  Currently reverted to oauth 0.31

          Sam Gleske added a comment -

          Closing as duplicate of JENKINS-57154

          Sam Gleske added a comment - Closing as duplicate of JENKINS-57154

            sag47 Sam Gleske
            aslanin Aleksandr Lanin
            Votes:
            12 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: