SAML authentication working, but Yii loses my user object?

More
1 year 2 months ago #161094 by aglspruit
I am experimenting with LimeSurvey SAML authentication, based on the plugin found here:
github.com/pitbulk/limesurvey-saml .

Everything seems to be working just fine, users gets created in the database etc. but Yii loses the identity of the user right after the login. In particular: Yii::app()->user->getId() returns nothing after the final redirect to AdminController.

This causes LimeSurvey to redirect back and forth, indefinitely, between the AdminController (application/controllers/AdminController) and the authentication action (application/controllers/admin/authentication).

Any hints much appreciated,
Sandor

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #161903 by DenisChenu
Why not create an issue in github ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #162349 by aglspruit
Because it looks like 'issues' have been disabled for the LimeSurvey repository on Github?
Unlike my own repositories, the LimeSurvey repository does not seem to have an 'issues' tab...

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #162358 by jelo
The LimeSurvey github page is lacking the issue tab.
As far as I see the code is from someone else.
What do you get here:
github.com/pitbulk/limesurvey-saml/issues

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #162361 by aglspruit
Good to get confirmation on the missing 'issues' tab, thought it could be my account.I have just created an issue on the SAML plugin repository, over at Github. Hope it helps, it's unfortunate to have a plugin working at 90-95%.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #162370 by DenisChenu
I have to work on SAML in some week … maybe i get the plugin maintenance at same time.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #162372 by aglspruit
That would be very nice. I noticed that the behaviour of the plugin has changed since a comfort upgrade.
Time permitting, I'll try and analyse the issue further.

Please Log in or Create an account to join the conversation.

More
1 year 4 weeks ago #162715 by aglspruit
@DenisChenu: how to get in touch?

Please Log in or Create an account to join the conversation.

More
1 year 3 weeks ago #163053 by aglspruit
Note the last couple of lines here simplesamlphp.org/docs/stable/simplesamlphp-sp#section_6
about php, simple saml and sessions. Sounds like it could be very relevant...

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!