Bypass authentication of Lime Survey

More
1 year 3 months ago #138121 by Lasith
Lasith created the topic: Bypass authentication of Lime Survey
Hi All,

I am loading LimeSurvey pages from my custom app so I want to bypass the authentication.
manual.limesurvey.org/Optional_settings#...ion_to_the_Webserver didn't work for me, may be it is because I am using IIS as the web server.

Anyway my requirement is simple. So what I tried was hard coding username and password on login page and click on submit button. But unfortunately it is not working on redirecting to the same page by saying incorrect username and password.

Here is my JS code. Any help is appreciated.

var textboxUser = document.getElementById("user");
textboxUser.value = 'admin';
var textboxPass = document.getElementById("password");
textboxPass.value = 'admin';
document.getElementById("login_submit").click();

Please Log in to join the conversation.

More
1 year 2 months ago #139829 by carl05
carl05 replied the topic: Bypass authentication of Lime Survey
hi - I'm trying to do the same thing. There's some advice here: www.limesurvey.org/community-services/fo...ation-of-lime-survey which applies to version 2, but perhaps not version 2.50. I have a secure server running with SSO and I can't avoid a 500 error running this code. Please let me know if you found a way to fix this!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now