Hello,
I am using WSO2 Identity Server as the IdP. The integration of SimpleSAMLphp and WSO2 Identity Server works fine. In Drupal I could install the module and configure it. Everything seems to work accordingly. I have my Federation Link on the login form, get redirected to the Login Form of my IdP after login there I end up in a loop. SimpleSAMLphp redirects to www.drupalinstance.de/saml_login and there it actually returns to simpleSAMLphp which answers, that the user is logged in and returns to www.drupalinstance.de/saml_login. I turned on the Use Header with: Cache-Control: no-cache but nothing has changed.
Following things I have tried already:
- clearing cache of Drupal
- clearing cache of Browser
- clearing DB tables of simpleSAMLphp
Do you have any idea what else could go wrong?
Thanks in advance.
Comments
Comment #2
patrickvoirol commentedI managed it, by setting up the same cookie domain for all drupal instances and simpleSAMLphp. The cookie domain for the drupal instances need to be setup in the services.yml in the sites folder of each drupal instance. The cookie domain for simpleSAMLphp can be setup in the conf/config.php. Now I don't get a redirect loop anymore.