-
-
Notifications
You must be signed in to change notification settings - Fork 494
Description
Hi,
I'm using Laravel with aacotroneo/laravel-saml2 package and php-saml toolkit (2.10)
When I take base64 encoded saml response and use SAML Tool website to
- Base64 DECODE
- Decrypt SAML Response
- Validate Saml Response
Resposne seems to be valid (and even without timing issues).
I've taken the same decoded and decrypted response inside of OneLogin_Saml2_Auth using Xdebug and it still passes through www.samltool.com
But when I'm trying to sign in using saml-php it fails giving "Reference validation failed".
In Xdebug it looks like xml is changed.
Script adds "default" to XML so it looks like < default:Assertion>...</default:Assertion>
Obviously as this XML is passed as a string to hash function it will give different hash result.
Any idea if this something on my end or problem with php-saml toolkit ?
Am I missing something ?
Let me know if you need more details.