Wednesday, May 8, 2019

SSO Implementation using SimpleSAML - in Drupal


A great tutorial here : https://www.chapterthree.com/blog/how-to-configure-simplesamlphp-for-drupal-8-on-acquia

After successfully setting the library and modules you have to send the metadata to the ADFS provider.
They will send you an XML adfs metadata.
You need to convert the XML metadata into PHP array, for that please go to the simplesaml configuration page. Which is normally http://www.examplesite.com/simplesaml
Go to Federation tab
Click the link labelled 'XML to SimpleSAMLphp metadata converter'. Which will ask you to log-in(if you are not logged in)
Paste the XML metadata/or upload the XML file here and click parse, you will get the required PHP array
Copy and paste the content in /simplesamlphp/metadata/saml20-idp-remote.php

No comments:

Post a Comment