SAML authentication working, but Yii loses my user object?

More
8 months 2 weeks ago #161094 by aglspruit
aglspruit created the topic: SAML authentication working, but Yii loses my user object?
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
7 months 3 weeks ago #161903 by DenisChenu
DenisChenu replied the topic: SAML authentication working, but Yii loses my user object?
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
7 months 6 days ago #162349 by aglspruit
aglspruit replied the topic: SAML authentication working, but Yii loses my user object?
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
7 months 5 days ago #162358 by jelo
jelo replied the topic: SAML authentication working, but Yii loses my user object?
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 following user(s) said Thank You: DenisChenu

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

More
7 months 5 days ago #162361 by aglspruit
aglspruit replied the topic: SAML authentication working, but Yii loses my user object?
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
7 months 5 days ago #162370 by DenisChenu
DenisChenu replied the topic: SAML authentication working, but Yii loses my user object?
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
7 months 5 days ago #162372 by aglspruit
aglspruit replied the topic: SAML authentication working, but Yii loses my user object?
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
6 months 4 weeks ago #162715 by aglspruit
aglspruit replied the topic: SAML authentication working, but Yii loses my user object?
@DenisChenu: how to get in touch?

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

More
6 months 2 weeks ago #163053 by aglspruit
aglspruit replied the topic: SAML authentication working, but Yii loses my user object?
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!