I have implementation of a custom STS. After being authenticated and redirected but before the page was loaded I would receive this error:
[CryptographicException: Digest verification failed for Reference '#_8e0aea1a-713d-4536-8fac-a768073395e9'.]
The reference number would change every time I tried.