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

More control over cache

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • github-oauth-plugin
    • None
    • 0.38

      The plugin caches (https://github.com/jenkinsci/github-oauth-plugin/pull/100) some user's information for a period of time.

      If Github is using SSO for a specific organization, it's possible that user authenticates with Github but has an expired SSO. In such a scenario, the plugin will not be able to receive the list of teams under this organization. This information is then cached for one hour.

      If the teams are being used in managing permissions, the users will effectively lose all these permissions during this period of time without any way of fixing it (except for restarting jenkins).

      I hope there can be a way to better manage this cache (option to control the cache time, etc.). Better, if it's possible, to refresh the cache if the user is trying to perform a reauthentication.

            cgee Carson Gee
            sockmister poh koh
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: