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

OAuth redirect url should be built from the root url

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • gitlab-oauth-plugin
    • None

      The url built for oauth redirect could be wrong in presence of a reverse proxy behind jenkins.

      Actually the redirect url is built from the request url but Jenkins.getInstance().getRootUrl() should be used instead.

      A PR has been submitted

      https://github.com/jenkinsci/gitlab-oauth-plugin/pull/15

            elhabib_med Mohamed El Habib
            dellekappa Giulio Ruggeri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: