Digest verification failed for Reference

后端 未结 2 1093
刺人心
刺人心 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:34

    I eventually found out that the claims, I had loaded from the database, had carriage return line feeds. Once I replaced those I had no more issues.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题