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

Make configurable call to authorize service

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • github-oauth-plugin
    • None
    • Linux RedHat, Jenkins 2.204.1.

       

      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.

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

              Created:
              Updated: