Hello,
I just upgrade the Simplesamlphp. and the currently version is 1.14.6.
I just use authenticaiton page in
https://xxxxxxxxxxxx/simplesaml/module.php/core/authenticate.php to test with ADFS. When I click the sources link, I will be redirected to ADFS login page, After login and redirect back to simplesamlphp, I can see a list of attributes in the page. Then I click the back button, the error NoSTATE is displayed.
SimpleSAML_Error_NoState: NOSTATE
Backtrace:
2 /var/simplesamlphp/lib/SimpleSAML/Auth/State.php:263 (SimpleSAML_Auth_State::loadState)
1 /var/simplesamlphp/modules/saml/www/sp/saml2-acs.php:78 (require)
0 /var/simplesamlphp/www/module.php:137 (N/A)
I check the process with SAML tracer. when click the back button, browser will back to ADFS page, ADFS page will send the request then redirect user back to simplesamlphp.
This is file in saml20-idp-host.php
'sign.logout'=>TRUE,
'contacts' =>
array (
0 =>
array (
'contactType' => 'support',
),
1 =>
array (
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
),
1 =>
array (
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
),
'encryption' => true,
'signing' => false,
'type' => 'X509Certificate',
'X509Certificate' => 'xxxxxxxxxxxxxxx',
),
1 =>
array (
'encryption' => false,
'signing' => true,
'type' => 'X509Certificate',
'X509Certificate' => 'xxxxxxxxxxxxxxxxxxxxxx',
),
2 =>
array (
'encryption' => false,
'signing' => true,
'type' => 'X509Certificate',
'X509Certificate' => 'xxxxxxxxxxxxxxx',
),
),
);
- What is the different between active authentication and password authentication? User need to input the username and password in ADFS login form, I think this is active authentication?
- I am using SP-initiated sign in.
- Here is the log:
Jul 28 16:43:52 simplesamlphp DEBUG [fcf7da456b] Loading state: '_a43d7528f040c02dbcd9ce7de11522ce78b446d0a7'
Jul 28 16:43:52 simplesamlphp ERROR [fcf7da456b] SimpleSAML_Error_NoState: NOSTATE
Jul 28 16:43:52 simplesamlphp ERROR [fcf7da456b] Backtrace:
Jul 28 16:43:52 simplesamlphp ERROR [fcf7da456b] 2 /var/simplesamlphp/lib/SimpleSAML/Auth/State.php:263 (SimpleSAML_Auth_State::loadState)
Jul 28 16:43:52 simplesamlphp ERROR [fcf7da456b] 1 /var/simplesamlphp/modules/saml/www/sp/saml2-acs.php:78 (require)
Jul 28 16:43:52 simplesamlphp ERROR [fcf7da456b] 0 /var/simplesamlphp/www/module.php:137 (N/A)
Jul 28 16:43:52 simplesamlphp ERROR [fcf7da456b] Error report with id 1cff2658 generated.
Jul 28 16:43:52 simplesamlphp DEBUG [fcf7da456b] Session: Valid session found with 'default-sp'.
Jul 28 16:43:52 simplesamlphp DEBUG [fcf7da456b] Template: Reading [/var/simplesamlphp/dictionaries/errors]
Jul 28 16:43:52 simplesamlphp DEBUG [fcf7da456b] Template: Reading [/var/simplesamlphp/modules/core/dictionaries/no_state]
Jul 28 16:43:52 simplesamlphp DEBUG [fcf7da456b] Received message:
.........
- You mean the whole login out process?
Thank you very much for your reply.