Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Cannot logout of limesurvey, it logs me in right away.

  • Concordia
  • Concordia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #111788 by Concordia
I recently got Single sign on to work.
Limesurvey authenticates with LDAP through Apache 2.4.
I'm using Version 2.05+ Build 140125.

My problem is once I'm logged in I cannot logout. :huh:

When I look at the apache access.log, we can see that as soon as I log out it logs back in

::1 - dkavar [20/Aug/2014:09:58:57 -0400] "GET /limesurvey/index.php/admin/authentication/sa/logout HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:57 -0400] "GET /limesurvey/index.php/admin/authentication/sa/login HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:57 -0400] "GET /limesurvey/index.php/admin/index HTTP/1.1" 200 13830
::1 - dkavar [20/Aug/2014:09:58:58 -0400] "GET /limesurvey/index.php/admin/authentication/sa/logout HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:58 -0400] "GET /limesurvey/index.php/admin/authentication/sa/login HTTP/1.1" 302 -
::1 - dkavar [20/Aug/2014:09:58:58 -0400] "GET /limesurvey/index.php/admin/index HTTP/1.1" 200 13830

There are no errors in the error.log.

The only way to log out is to clear my browser cache and close\open the browser.

Thanks in advance.
The topic has been locked.
  • Concordia
  • Concordia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #111876 by Concordia
Limesurvey log out button no longer works with authentication through apache(HTTP authentication), as the session is not cleared until the browser window is closed.

There might be a work around, but it will require more research and development.

Looking for another method to authenticate with ldap and then automatically import user’s.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #111882 by DenisChenu
Cannot logout of limesurvey, it logs me in right away.

Why you want to log out ?
If you are connected via server, ther can't be a real logout system.

There are 2 possibility:
- No log out icon (remove log out icon if connected via server)
- Return to index page and not to admin.

Please report a bug, but I think it's a minor issue.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Concordia
  • Concordia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #112040 by Concordia
I reported it as a minor bug ID 09197.

I could remove the loggout button.
How would I return to the index page? what page would I have to modify?

Thanks!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose