Digest verification failed for Reference

后端 未结 2 1107
刺人心
刺人心 2021-01-14 09:24

I have implementation of a custom STS. After being authenticated and redirected but before the page was loaded I would receive this error:

[CryptographicExc         


        
2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-14 09:49

    We had similar issue and was able to resolve it using LF (Unix) newline separator when encoding the Base64.

    Specifically, in our implementation, we require HTTP POST binding when submitting the SAML Response. The SAML Response is Base64-encoded and it fails when encoded using CRLF (Windows) newline separator. But when encode using LF (Unix), it works. Also, the Character Set must be UTF 8.

    This is the setting we use when encode using https://www.base64encode.org/ tool

提交回复
热议问题