ID2048: The given IUserCredential.CredentialType must match the one configured on the TokenServiceEndpoint. The credential ...

ID2048: The given IUserCredential.CredentialType must match the one configured on the TokenServiceEndpoint. The credential type from TokenServiceEndpoint is '{0}', and the IUserCredential.CredentialType which could come from the Information Card request is '{1}'.