I am using WSO2 Identity Server 5.1.0 and configured ADFS as an Identity Provider using the management console. I tested the created IDP by selecting it in one of my service
To solve the issue I had to change some xml elements in the FederatedIdentityProviders like below.
adfs-idp true SAMLSSOAuthenticator samlsso true SAMLSSOAuthenticator