Welcome to the LimeSurvey Community Forum

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

Unable to get any authentication plugin to work

  • normwp
  • normwp's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #225090 by normwp
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.0
Own server or LimeSurvey hosting: Own server
Survey theme/template: default
==================
(Write here your question/remark)
I've tried the SAML and Shibboleth plugins and have been getting the same result when trying to login.
I am redirected to the login screen again even though the SHIB authentication was successful.
At one point I could see my user id being successfully recognized in the logs and was greeted by Limesurvey 'Welcome User' in the logs, but it would still present the login screen.
Is there perhaps a resource I could refer to or check configuration settings against to verify that my configuration is in fact correct. 
 Any help would be greatly appreciated.

Thank you
 

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 10 months ago #225171 by DenisChenu
Replied by DenisChenu on topic Unable to get any authentication plugin to work
AuthDB work ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • normwp
  • normwp's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #225172 by normwp
Hi Denis

Yes AuthDB works, but I would really like to get either of the webserver, SAML / Shibboleth plugins to work.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 10 months ago #225177 by DenisChenu
Replied by DenisChenu on topic Unable to get any authentication plugin to work
SAML and Shibboleth are complex to set up …
I ask for AuthDB to see if there are clear $_SESSION issue …

Seems not …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • normwp
  • normwp's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #225186 by normwp
Hi Denis, Yes I'm comfortable with the complexity, but I need to know what the standard configuration looks like in a working environment so I could compare it to mine. What pitfalls should I look out for? What default configuration must be changed in order to get it to work. Are there any step by step guides for the webserver authentication plugin? I've turned DEBUG on, but still can't seem to track down where the problem is.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 10 months ago #225202 by DenisChenu
Replied by DenisChenu on topic Unable to get any authentication plugin to work
In general : when i need (it's not working but don't know why) : i put some trace and test … hacking , no clean way to do.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • normwp
  • normwp's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #225211 by normwp
Hi Denis

This is what I'm trying to achieve.
www.limesurvey.org/manual/Optional_setti...ion_to_the_webserver

1. I've set the auth_webserver to true in config.php
2. I activated the plugin and set the variable that should be used.
3. I created a LS user with the same username that would be used for
authenticating to the webserver.

After successful authentication with the webserver the server variable I specified in the plugin contains the username that corresponds with a username already in the database.

What else do I need to verify?
Could you elaborate on your trace and test.....hacking suggestion please.
How would you troubleshoot this problem?

Many thanks for your responses they are greatly appreciated.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 10 months ago #225225 by DenisChenu
Replied by DenisChenu on topic Unable to get any authentication plugin to work

Could you elaborate on your trace and test.....hacking suggestion please.
How would you troubleshoot this problem?

 
Code:
echo "<pre>";
print_r($_SESSION);
echo "</pre>";
die();
When another solution (with tracevar($_SESSION) and mode debug didn't work).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose