How do I configure SSO by SAML? At first, I am new in SAML. Could somebody tell step by step, how to configure SSO on Drupal using simplesamlphp? Or how to test by "Test configured authentication sources"?

What I have now.


Installed simpleSAMLphp Authentication module.
Add simplesamlphp library to my site (mysite/simplesamlphp).
Changed config.php
Added meta to saml20-sp-remote.php

$metadata['name'] = array(
'SingleSignOnService'  => 'url_login',
'SingleLogoutService'  => 'url_logout',
'certFingerprint'      => 'key',
);
When I go to mysite/saml_login, I am return to login page on IdP. After login I return to my site (mysite/sso/login?params) with SAMLRequest and other GET-params. But site show page not fount error. On wiki it step 2.


So what I did wrong? May be I must set same page callback to handle this GET-params?

I also try to did this by simplesaml "Test configured authentication sources", but I got the same result.

Please, help!
This is a very old question but worth solving it.

By:


  I also try to did this by simplesaml "Test configured authentication sources", but I got the same result.


It seems that @misha-from-lviv didn't configure simpleSAMLphp correctly. 


  $metadata['name'] = array( 'SingleSignOnService' => 'url_login', 'SingleLogoutService' => 'url_logout', 'certFingerprint' => 'key', );


The metadata is incomplete

The process to configure the simplesamlphp is way more complex that the 5 steps described there. This Vagrant box setup simplesAMLphp (as an SP and IdP) and Drupal 7 for you and let's you start testing SAML right away. 

Disclaimer: I created the box