[JIRA] (JENKINS-58640) OAuth redirect url should be built from the root url

2 views
Skip to first unread message

dellekappa@gmail.com (JIRA)

unread,
Jul 24, 2019, 8:28:04 AM7/24/19
to jenkinsc...@googlegroups.com
Giulio Ruggeri created an issue
 
Jenkins / Bug JENKINS-58640
OAuth redirect url should be built from the root url
Issue Type: Bug Bug
Assignee: Mohamed El Habib
Components: gitlab-oauth-plugin
Created: 2019-07-24 12:27
Priority: Major Major
Reporter: Giulio Ruggeri

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages