[JIRA] (JENKINS-51692) Cannot logout from the Google Login plugin

1 view
Skip to first unread message

thomas.rame@outlook.com (JIRA)

unread,
Jun 4, 2018, 12:39:01 PM6/4/18
to jenkinsc...@googlegroups.com
Thomas Ramé created an issue
 
Jenkins / Bug JENKINS-51692
Cannot logout from the Google Login plugin
Issue Type: Bug Bug
Assignee: Ryan Campbell
Components: google-login-plugin
Created: 2018-06-04 16:38
Environment: Jenkins ver. 2.107.1
google-login:1.4
Priority: Major Major
Reporter: Thomas Ramé

Hi,

 

I'm not sure it's related to this bogue:

https://issues.jenkins-ci.org/browse/JENKINS-50311?jql=text%20~%20%22can%27t%20logout%20google%20login%22

 

... since I do not have the 404 error as he described.

 

Just to resume the flow:

  1. I click on "Logout" at the right top
  2. I'm redirected to "http://XXXXXX/securityRealm/loggedOut" that shows me "You have successfully logged out."
  3. If I go now to "http://XXXXXX/" I'm still logged in

 

And it's an infinite loop, I will never be logged out

 

Thanks for your help,

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

rcampbell@cloudbees.com (JIRA)

unread,
Jun 4, 2018, 3:47:02 PM6/4/18
to jenkinsc...@googlegroups.com
Ryan Campbell commented on Bug JENKINS-51692
 
Re: Cannot logout from the Google Login plugin

Do you allow read-only users to access your site? If not, then trying to access the root URL will naturally result in a user being redirected to the login process with Google even if they do not specifically click on "Login"

 

If you still feel this is a defect, please provide a HAR file recording of the steps you list above. 

thomas.rame@outlook.com (JIRA)

unread,
Jun 4, 2018, 4:07:02 PM6/4/18
to jenkinsc...@googlegroups.com
Thomas Ramé updated an issue
 
Change By: Thomas Ramé
Attachment: har-jenkins

thomas.rame@outlook.com (JIRA)

unread,
Jun 4, 2018, 4:23:01 PM6/4/18
to jenkinsc...@googlegroups.com
Thomas Ramé commented on Bug JENKINS-51692
 
Re: Cannot logout from the Google Login plugin

Ryan Campbell No I'm not allowing read-only users. Also, I tried to access an administrative page after being logged out and I'm logged in too.

 

While looking at the network Chrome DevTools I saw I was receiving an 403 response after having clicked on "Logout", but just after that it automatically redirects me to the same page while being logged in this time.

 

It happens whatever the page I try to reach after being logging out:

 

  • Root /
  • /manage
  • ...

 

Here is the HAR file (I have removed 1 <table> containing the list of repositories), hope it could help : har-jenkins

thomas.rame@outlook.com (JIRA)

unread,
Jun 4, 2018, 4:24:03 PM6/4/18
to jenkinsc...@googlegroups.com
Thomas Ramé edited a comment on Bug JENKINS-51692
[~recampbell] No I'm not allowing read-only users. Also, I tried to access an administrative page after being logged out and I'm logged in too.

 

While looking at the network Chrome DevTools I saw I was receiving an 403 response after having clicked on "Logout"
and trying to reach a new page , but just after that it automatically redirects me to the same page while being logged in this time.


 

It happens whatever the page I try to reach after being logging out:

 
* Root /
* /manage
* ...

 

Here is the HAR file (I have removed 1 <table> containing the list of repositories), hope it could help : [^har-jenkins]

thomas.rame@outlook.com (JIRA)

unread,
Jun 4, 2018, 4:31:03 PM6/4/18
to jenkinsc...@googlegroups.com

I think that even if I'm logged into my Google Account, Jenkins should show me the login page to either confirm I want to continue with one account of the list or asking email/password.

thomas.rame@outlook.com (JIRA)

unread,
Jun 4, 2018, 4:35:02 PM6/4/18
to jenkinsc...@googlegroups.com
Thomas Ramé edited a comment on Bug JENKINS-51692
I think that even if I'm logged into my Google Account, Jenkins should show me the login page to either confirm I want to continue with one account of the list or asking email/password.


 

Otherwise am I suppose to switch of account? (even it does not happen very often ^^)

 

May it's not a big issue but I prefer to "warn you" :)

alexhraber@gmail.com (JIRA)

unread,
Dec 19, 2018, 12:36:02 AM12/19/18
to jenkinsc...@googlegroups.com

Hello Thomas Ramé and Ryan Campbell,

 

A colleague of mine and I are also experiencing this issue on v2.150.1.

 

I'm not sure if either of you found a solution, but if you have please post.

 

Best

 

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

alexhraber@gmail.com (JIRA)

unread,
Dec 19, 2018, 12:37:02 AM12/19/18
to jenkinsc...@googlegroups.com
Alex Raber edited a comment on Bug JENKINS-51692
Hello [~sneko] and [~recampbell],

 

A colleague of mine and I are also experiencing this issue on v2.150.1
with google-login 1 . 3.

 

I'm not sure if either of you found a solution, but if you have please post. :)

 

Best

 

alexhraber@gmail.com (JIRA)

unread,
Dec 19, 2018, 12:38:02 AM12/19/18
to jenkinsc...@googlegroups.com
Alex Raber updated an issue
 
Change By: Alex Raber
Comment:
Hello [~sneko] and [~recampbell],

 

A colleague of mine and I are also experiencing this issue on v2.150.1 with google-login 1.3.

 

I'm not sure if either of you found a solution, but if you have please post. :)

 

Best

 

02.mahima@gmail.com (JIRA)

unread,
Jan 10, 2020, 5:34:02 AM1/10/20
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages