SID-02499: SSO using shibboleth and apache for twiki issues
| Status: |
Asked |
TWiki version: |
6.1.0 |
Perl version: |
v5.26.3 |
| Category: |
CategoryAuthentication |
Server OS: |
4.18.0-425.3.1.el8.x86_64 |
Last update: |
2 years ago |
I am following
https://twiki.org/cgi-bin/view/TWiki/HowToEnableSingleSignOn
to enable SSO for my twiki installation.
I am not able to currently make out where and how to define mapping config for REMOTE_USER as per step 6 given in mentioned blog above.
I have edited below config files as part of this exercise -
/httpd/conf/httpd.conf
/twiki/twiki.conf
/etc/shibboleth/shibboleth2.xml
twiki/lib/LocalSite.cfg
twiki/bin/.htaccess.txt
I am able to create/register users and login for my twiki installation and now i want to enable SSO using shibboleth. Please help me with above query if anyone has done a similar exercise.
--
Dhiraj Prasad - 2023-01-13
Discussion and Answer
All TWiki needs is the REMOTE_USER environment variable, set by your shibboleth configuration. I believe in TWiki configure you need to set
{LoginManager} to
TWiki::LoginManager::ApacheLogin
--
Peter Thoeny - 2023-01-14
Thanks Peter. Do you have any sample configuration for REMOTE_USER variable ?
--
Dhiraj Prasad - 2023-01-17
I am not familiar with shibboleth, so I can't help you out on how to configure it to set the REMOTE_USER environment variable
--
Peter Thoeny - 2023-01-17
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.