Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shibboleth log off doesnt clear the cookies #3535

Closed
Venki18 opened this issue Dec 16, 2016 · 11 comments
Closed

Shibboleth log off doesnt clear the cookies #3535

Venki18 opened this issue Dec 16, 2016 · 11 comments

Comments

@Venki18
Copy link

Venki18 commented Dec 16, 2016

We would like to report the problem with Shibboleth login. The shibboleth logoff doesn’t clear the cookie / session so the user is able to login again without entering the credentials. But this problem does not appear if a user login using local account and then login again with Shibboleth login. We are not sure whether is this a problem with Shibboleth setup or Dataverse log off action.

@pdurbin
Copy link
Member

pdurbin commented Dec 16, 2016

@Venki18 thanks for opening this issue. I was saying to @djbrooke yesterday that I don't recall spending a lot of time thinking about Log Out when we were designing the Shibboleth feature but I just took a look at the "Shibboleth Functional Requirements Document for Dataverse 4.0" doc at https://docs.google.com/document/d/12Qru8Gjq4oDUiodI00oObHJog65S7QzFfFZuPU3n8aU/edit?usp=sharing and under "Log Out" it says this:

Clicking "Log Out" is not enough for Shibboleth users. After clicking "Log Out", they will be presented with a popup with an OK button saying that they must close their browsers to finish logging out. As an alternative, perhaps we could have a short timeout (10 minutes or fewer) configured between the Dataverse SP and each of the Identity Provider (IdP).

We never developed that pop up about the need to quit your browser to log all the way out and I'm not sure why. It never became part of the remote auth phase 1 effort in #2939 either.

As an aside, I've always been a little puzzled by text in https://wiki.shibboleth.net/confluence/display/CONCEPT/SLOIssues such as:

  • "The Shibboleth 2 IdP does not support single logout in any meaningful sense."
  • "The Difficulties of Single Logout"

I haven't really dug into what's possible and have pretty much just accepted the out of the box behavior of Shibboleth.

I will say that now that we're working on OAuth support in #3338, @pameyer has expressed concern about logout behavior for OAuth as well, such as at #3338 (comment)

@Venki18 if I were you I'd try asking your Shibboleth Identity Provider (IdP) team to have a short time out such as 10 minutes, as suggested above. If you have suggestions for how we can update the Shibboleth section of the Installation Guide, please do let us know.

@Venki18
Copy link
Author

Venki18 commented Dec 19, 2016

@pdurbin Thank you. I will talk to my IT team about this. Will let you know if there is anything that has to be updated on Shibboleth section.

@pdurbin
Copy link
Member

pdurbin commented Mar 31, 2017

@Venki18 does any of the new information at https://groups.google.com/d/msg/dataverse-community/rSokUwua8-s/edAfx0X0AQAJ help?

@sudoflyy
Copy link

I believe that my attempted implementation of Single Logout for Shibboleth may be relevant to this issue:
https://groups.google.com/forum/#!topic/dataverse-dev/_PU0SvYvrXc

@pdurbin
Copy link
Member

pdurbin commented Apr 28, 2017

@aivanov100 thanks for attaching ShibAuthFilter.java to that thread on the dataverse-dev list! I'm moving this issue to Code Review at https://waffle.io/IQSS/dataverse

Here's a handy direct link: https://groups.google.com/group/dataverse-dev/attach/7ef6ef254bbc7/ShibAuthFilter.java?part=0.1&authuser=0&view=1

@pdurbin pdurbin self-assigned this May 2, 2017
@pdurbin
Copy link
Member

pdurbin commented May 2, 2017

Yesterday @aivanov100 did some more testing and wrote up some results at https://groups.google.com/d/msg/dataverse-dev/_PU0SvYvrXc/rbGIr6AFCQAJ and I'll respond there, hopefully this morning.

@pdurbin
Copy link
Member

pdurbin commented May 2, 2017

I dashed off a reply at https://groups.google.com/d/msg/dataverse-dev/_PU0SvYvrXc/E9CkPMZ4AAAJ . I'm going on vacation so I'm unassigning myself for now.

@pdurbin pdurbin removed their assignment May 2, 2017
@pdurbin
Copy link
Member

pdurbin commented May 2, 2017

@aivanov100 I'm going to drag this from "Code Review" to "Backlog" at https://waffle.io/IQSS/dataverse so as not to distract the team at our daily standups but please make noise if there's some more code you want us to look at. Thanks!

@pdurbin
Copy link
Member

pdurbin commented Jun 23, 2017

@Venki18 please try the new :ShibPassiveLoginEnabled configuration option that shipped as part of Dataverse 4.6.2 in pull request #3762 by @aivanov100 (thanks again!). Here are the docs:

http://guides.dataverse.org/en/4.6.2/installation/config.html#shibpassiveloginenabled

I'm going to close this issue but please let us know if it doesn't work! It should! 😄

@pdurbin pdurbin closed this as completed Jun 23, 2017
@Venki18
Copy link
Author

Venki18 commented Jun 27, 2017 via email

@pdurbin
Copy link
Member

pdurbin commented Jun 27, 2017

@Venki18 that's great news! Don't forget to request that we put your installation on the map! http://guides.dataverse.org/en/4.7/installation/config.html#putting-your-dataverse-installation-on-the-map-at-dataverse-org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants