Vote count:
0
SITUATION: - My SP successfully sends out a SAMLRequest to an IdP. - The IdP sends back a SAMLResponse to the AssertionConsumerServiceURL (defined in SAMLRequest) - my CakePHP app has a routing for that ACS to my SP front page.
ISSUE: - simpleSAMLphp requireAuth() continues to redirect to the IdP for login. I am looping.
STEPS TAKEN: - I have set my simpleSAMLphp to store it's sessions in database. CakePHP was overwriting the information simpleSAMLphp was storing in session. But Im still looping.
CONFIG SETTINGS:
authsources.php
'MyAuthSource' => array(
'saml:SP',
'entityid' => 'MySP',
'idp' => 'MyIdP',
),
saml20-sp-remote.php
$metadata['forestguru'] = array(
'AssertionConsumerService' => '<*MyUrl*>/simplesaml/http://ift.tt/1iikFJ6',
);
saml20-idp-remote.php
$metadata['MyIdP'] = array(
'name' => 'MyIdP',
'SingleSignOnService' => 'https://<*MyIdpURL*>',
);
config.php
'enable.saml20-idp' => true,
'enable.shib13-idp' => false,
'enable.adfs-idp' => false,
'enable.wsfed-sp' => false,
'enable.authmemcookie' => false,
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire