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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Component/s: github-oauth-plugin
    • Environment:
      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
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            daschneider99 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.

            Show
            daschneider99 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.
            Hide
            rknla 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.

            Show
            rknla 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.
            Hide
            rknla 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.

            Show
            rknla 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.
            Hide
            jahsis Mārtiņš Jakubovičs added a comment -

            Have exact same issue as Kevin Nelson

            Show
            jahsis Mārtiņš Jakubovičs added a comment - Have exact same issue as Kevin Nelson
            Hide
            stszap Stanislav Zapolsky added a comment -

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

            Show
            stszap Stanislav Zapolsky added a comment - We are having exactly the same issue as Kevin Nelson described.
            Hide
            allir 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.

            Show
            allir 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.
            Hide
            roeera Roee Rakovsky added a comment - - edited

            Have the exact problem - please fix ! 

            Currently reverted to oauth 0.31

            Show
            roeera Roee Rakovsky added a comment - - edited Have the exact problem - please fix !  Currently reverted to oauth 0.31
            Hide
            sag47 Sam Gleske added a comment -

            Closing as duplicate of JENKINS-57154

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: