简体   繁体   English

saml工具包base64_decode失败

[英]saml toolkit base64_decode failing

I have configured the Onelogin SAML Toolkit for PHP per the documentation. 我根据文档为PHP配置了Onelogin SAML Toolkit。 Sadly the output from base64_decode() function is incorrect. 遗憾的是,base64_decode()函数的输出不正确。

I used the Onelogin Online decode and Inflate tool and get a correct value with same SAMLResponse. 我使用了Onelogin在线解码和Inflate工具,并使用相同的SAMLResponse获得正确的值。

SAML Assertions are signed, not encrypted per the IDP maintainer. SAML断言是签名的,不是根据IDP维护者加密的。 IDP x509 certificate is correct in settings. IDP x509证书在设置中是正确的。

Where would I look next? 接下来我会在哪里看?

The toolkit expects the SAMLResponse to be received at the ACS URL endpoint using the HTTP-POST binding, and base64 encoded (not deflated, so you dont need to decode and Inflate it). 该工具包期望使用HTTP-POST绑定在ACS URL端点接收SAMLResponse,并使用base64编码(未缩小,因此您不需要解码并对其进行充气)。

I think that you are trying to process a SAMLResponse using the HTTP-Redirect binding that is not officially supported. 我认为您正在尝试使用非官方支持的HTTP-Redirect绑定来处理SAMLResponse。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM