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

Make configurable call to authorize service

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: github-oauth-plugin
    • Labels:
      None
    • Environment:
      Linux RedHat, Jenkins 2.204.1.
    • Similar Issues:

      Description

       

      Dears,

      We are trying to use your plugin to perform single sign on from our Jenkins to our authorization service.

      However currently in the code the path to service call is hardcoded path to "authorize":

      github-oauth-plugin-master\src\main\java\org\jenkinsci\plugins\GithubSecurityRealm.java
      
      return new HttpRedirect(githubWebUri + "/login/oauth/authorize?client_id="
       + clientID + suffix);
      

      Would it be possible to make it possible to change in plugin configuration?
      For example by default there is parameter set to "/login/oauth/authorize" but to be able to change to e.g. "/kerberoslogin/authorize".

      Best regards,
      Seweryn.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            sag47 Sam Gleske
            Reporter:
            habdank Seweryn Habdank-Wojewodzki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: