Too many redirects when redirected to limesurvey

321 views
Skip to first unread message

Ultralite

unread,
May 17, 2017, 11:27:15 AM5/17/17
to SimpleSAMLphp
Hello,

I've setup simplesamlphp (latest) to be an SP for limesurvey (version 2.65= latest) and ADFS 2 as an IDP.

Everything is fine if I stay in simplesaml auth/test pages.
I can see the attributes given by ADFS.

But when I try to use the AuthSAML plugin installed in limesurvey (on the same server as simplesamlphp).
I receive a "too many redirect" from my web browser.

I tried, to change the store.type to something else than phpsession to be sure but I still got the issue.

Is my problem relative to the attribute I get from ADFS or is this something else?

Jaime Perez Crespo

unread,
May 18, 2017, 5:16:04 AM5/18/17
to simple...@googlegroups.com
Hi,

On 17 May 2017, at 17:27 PM, Ultralite <pdomi...@gmail.com> wrote:
> Hello,
>
> I've setup simplesamlphp (latest) to be an SP for limesurvey (version 2.65= latest) and ADFS 2 as an IDP.
>
> Everything is fine if I stay in simplesaml auth/test pages.
> I can see the attributes given by ADFS.
>
> But when I try to use the AuthSAML plugin installed in limesurvey (on the same server as simplesamlphp).
> I receive a "too many redirect" from my web browser.
>
> I tried, to change the store.type to something else than phpsession to be sure but I still got the issue.

Changing the store.type configuration option might not be enough. Make sure the cookie configuration is correct.

> Is my problem relative to the attribute I get from ADFS or is this something else?

It shouldn’t. Usually, infinite redirects are due to a bad configuration of the session backend or the cookie configuration (i.e. session cookies conflicting with the application’s cookies). Make sure that SimpleSAMLphp has its own, separate session and cookies.

Also, look at the logs. They are there precisely to help diagnose issues, and they should provide you with more information on what’s exactly going on.

--
Jaime Pérez
UNINETT / Feide

jaime...@uninett.no
jaime...@protonmail.com
9A08 EA20 E062 70B4 616B 43E3 562A FE3A 6293 62C2

"Two roads diverged in a wood, and I, I took the one less traveled by, and that has made all the difference."
- Robert Frost

Reply all
Reply to author
Forward
0 new messages