RO Single Sign On

Setup Joomla! as an Identity Provider

To setup Joomla! as an Identity Provider is a little tricky because the configuration can get lost sometimes. Here we explain the steps on how to achieve this.

These are the steps to setup Joomla! as an Identity Provider:

  1. Get the Service Provider metadata URL
    1. Go to RO Single Sign On
    2. Click on Dashboard
    3. Click on the tab Tips & Information
    4. Copy the Service Provider metadata URL
  2. Login to the server using SSH
  3. Go to the folder /WEBROOT/libraries/simplesamlphp/modules/metarefresh/bin/
  4. Execute the command `php metarefresh.php URL`
    Replace URL with the Service Provider metadata URL from step 1.4
  5. The file metadata-generated/saml20-sp-remote.php contains the data of the IDP as Service Provider.
    Importing any metadata URL will remove the instance of the IDP as Service Provider. This must be manually added back into the file.