OAuth redirect url should be built from the root url

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: 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

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

              Created:
              Updated: