[JIRA] (JENKINS-58506) Redirect to root url determined from request

32 views
Skip to first unread message

vincent@latombe.net (JIRA)

unread,
Jul 16, 2019, 3:13:02 AM7/16/19
to jenkinsc...@googlegroups.com
Vincent Latombe created an issue
 
Jenkins / Bug JENKINS-58506
Redirect to root url determined from request
Issue Type: Bug Bug
Assignee: Ryan Campbell
Components: google-login-plugin
Created: 2019-07-16 07:12
Priority: Minor Minor
Reporter: Vincent Latombe

Jenkins instances can be accessed through multiple URLs, not only the canonical one declared in Jenkins settings.

The redirection when doing the commenceLogin/finishLogin dance should occur on the domain that is being used to access the Jenkins instance.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

vincent@latombe.net (JIRA)

unread,
Jul 16, 2019, 3:13:02 AM7/16/19
to jenkinsc...@googlegroups.com
Vincent Latombe assigned an issue to Vincent Latombe
Change By: Vincent Latombe
Assignee: Ryan Campbell Vincent Latombe

vincent@latombe.net (JIRA)

unread,
Jul 16, 2019, 3:14:01 AM7/16/19
to jenkinsc...@googlegroups.com

vincent@latombe.net (JIRA)

unread,
Jul 16, 2019, 3:14:02 AM7/16/19
to jenkinsc...@googlegroups.com
Vincent Latombe started work on Bug JENKINS-58506
 
Change By: Vincent Latombe
Status: Open In Progress

vincent@latombe.net (JIRA)

unread,
Jul 16, 2019, 3:24:03 AM7/16/19
to jenkinsc...@googlegroups.com
Change By: Vincent Latombe
Status: In Review Fixed but Unreleased
Resolution: Fixed

michaelrush@gmail.com (JIRA)

unread,
Jul 17, 2019, 2:52:03 PM7/17/19
to jenkinsc...@googlegroups.com
Michael Rush commented on Bug JENKINS-58506
 
Re: Redirect to root url determined from request

This doesn't work in a proxied setup, where a web server such as Apache is only accepting https requests that a proxied to Jenkins. Jenkins is sending Google a http redirect URL which isn't registered in the OAuth client. Adding the http URL to the Google OAuth client doesn't work either since http isn't not accepted on the originating server.

vincent@latombe.net (JIRA)

unread,
Jul 18, 2019, 12:06:03 AM7/18/19
to jenkinsc...@googlegroups.com
Change By: Vincent Latombe
Status: Fixed but Unreleased Resolved
Released As: 1.5

vincent@latombe.net (JIRA)

unread,
Jul 18, 2019, 12:08:03 AM7/18/19
to jenkinsc...@googlegroups.com
Vincent Latombe edited a comment on Bug JENKINS-58506
 
Re: Redirect to root url determined from request
Hi [~michaelrush], your reverse proxy must be properly configured. See [Running Jenkins behind Apache| [ https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Apache] ]

vincent@latombe.net (JIRA)

unread,
Jul 18, 2019, 12:08:03 AM7/18/19
to jenkinsc...@googlegroups.com

Hi Michael Rush, your reverse proxy must be properly configured. See [Running Jenkins behind Apache|https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Apache]. 

michaelrush@gmail.com (JIRA)

unread,
Jul 18, 2019, 11:07:02 AM7/18/19
to jenkinsc...@googlegroups.com

Ah, ok. That makes sense. Thanks Vincent! Sorry for the misinformation in my comment.

Reply all
Reply to author
Forward
0 new messages