Welcome to the LimeSurvey Community Forum

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

SAML authentication working, but Yii loses my user object?

  • aglspruit
  • aglspruit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 weeks 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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 2 days 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • aglspruit
  • aglspruit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months 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...
The topic has been locked.
More
6 years 11 months 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
The topic has been locked.
  • aglspruit
  • aglspruit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months 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%.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 years 11 months 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • aglspruit
  • aglspruit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months 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.
The topic has been locked.
  • aglspruit
  • aglspruit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months ago #162715 by aglspruit
@DenisChenu: how to get in touch?
The topic has been locked.
  • aglspruit
  • aglspruit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 10 months 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...
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose