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

Authorities are not immediately returned from github when login

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • github-oauth-plugin
    • None
    • jenkins : 2.414.1
      github oauth plugin : 588.vf696a_350572a_
    • 596.v0646c4a_0a_962

      When connecting to Jenkins using GitHub OAuth, there is a significant delay before information about the groups to which the user belongs comes back down.  
      We can make sure by consulting the whoAmI page.  
      There may be a wait of up to 1 minute before the information is actually sent down.  

      2 problems arise from this :

      • Links from /static-files/ return a 403 exception (same as JENKINS-63296)
      • Build launches generate a "could not be located" exception (same as JENKINS-67026)

      This is extremely penalizing for us

          [JENKINS-72209] Authorities are not immediately returned from github when login

          Cyril Pottiers created issue -

          cpottiers Potentially the issues you were seeing are corrected by https://github.com/jenkinsci/github-oauth-plugin/pull/256. As it's related to a cache issue that seems related to JENKINS-72268.

          Wadeck Follonier added a comment - cpottiers Potentially the issues you were seeing are corrected by https://github.com/jenkinsci/github-oauth-plugin/pull/256 . As it's related to a cache issue that seems related to JENKINS-72268 .
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Mark Waite added a comment -

          cpottiers could you check the most recent release and confirm that the issue is resolved?

          Mark Waite added a comment - cpottiers could you check the most recent release and confirm that the issue is resolved?
          Mark Waite made changes -
          Remote Link New: This issue links to "GitHub oauth plugin release that may fix the issue (Web Link)" [ 29013 ]

          Cyril Pottiers added a comment - - edited

          Hi markewaite, wfollonier ,

          At first sight it's OK because icons , links are accessibles and jobs are runnables.

          Cyril Pottiers added a comment - - edited Hi markewaite , wfollonier , At first sight it's OK because icons , links are accessibles and jobs are runnables.
          Cyril Pottiers made changes -
          Released As New: 596.v0646c4a_0a_962
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Mark Waite added a comment -

          cpottiers I'm sorry to share that the change was reverted from the plugin in the next release because it caused an unexpected performance impact on Pipeline execution. More research is needed before the change can be introduced again.

          Mark Waite added a comment - cpottiers I'm sorry to share that the change was reverted from the plugin in the next release because it caused an unexpected performance impact on Pipeline execution. More research is needed before the change can be introduced again.

          Cyril Pottiers added a comment - - edited

          Oh damn, markewaite, is there a ticket that talks about these impacts ? I want to follow it.

          Cyril Pottiers added a comment - - edited Oh damn, markewaite , is there a ticket that talks about these impacts ? I want to follow it.
          Cyril Pottiers made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            Unassigned Unassigned
            cpottiers Cyril Pottiers
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: