- Posts: 348
- Thank you received: 41
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Authentication for participant: reading Apache environment
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
3 years 6 months ago #207053
by Jmantysalo
Authentication for participant: reading Apache environment was created by Jmantysalo
Let's suppose that I have a working Shibboleth and I put <Location /limesurvey/123456>ShibRequestSetting requireSession 1 . . .</Location> to Apache configuration. Now only those with account can answer to the survey number 123456.
But can I get usernames -- that is, something like REMOTE_USER or displayName variable from Apache -- to the survey? It would not be perfect, as someone could tamper data, but that could be detected from logs if needed.
But can I get usernames -- that is, something like REMOTE_USER or displayName variable from Apache -- to the survey? It would not be perfect, as someone could tamper data, but that could be detected from logs if needed.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13668
- Thank you received: 2496
3 years 6 months ago #207059
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Authentication for participant: reading Apache environment
Not with LimeSurvey core.
Need a plugin : check gitlab.com/SondagesPro/OrcidAuthenticate for some sample
Particpant via OAuth
Need a plugin : check gitlab.com/SondagesPro/OrcidAuthenticate for some sample
Particpant via OAuth
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
3 years 6 months ago #207062
by Jmantysalo
Replied by Jmantysalo on topic Authentication for participant: reading Apache environment
OK, thanks. I'll see if I write a plugin or do some kind of redirection trick with get-variables and panel integration.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13668
- Thank you received: 2496
3 years 6 months ago #207064
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Authentication for participant: reading Apache environment
My opinion :
Plugin check if REMOTE_USER is set,
1. if no : show a "You must be loggued in" link
2. if yes : find the REMOTE_USER in token table (attribute or ? ) : create the token or redirect to token
1: gitlab.com/SondagesPro/OrcidAuthenticate...uthenticate.php#L629
2: gitlab.com/SondagesPro/OrcidAuthenticate...nticate.php#L191-218 (but here : i use a redirect , it's not needed in your case i think).
Plugin check if REMOTE_USER is set,
1. if no : show a "You must be loggued in" link
2. if yes : find the REMOTE_USER in token table (attribute or ? ) : create the token or redirect to token
1: gitlab.com/SondagesPro/OrcidAuthenticate...uthenticate.php#L629
2: gitlab.com/SondagesPro/OrcidAuthenticate...nticate.php#L191-218 (but here : i use a redirect , it's not needed in your case i think).
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Jmantysalo
The topic has been locked.