I got this error. For me, the root cause was a mismatch between my application's issuer value and the identifier set in Relying Party Trust on ADFS.