Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Getting Correlation Failure whenever returning from authorizing against an external provider #2115
I am attempting to set up external authorization against OpenID endpoints for Azure AD B2c and IDPee. In both cases I can navigate to the the appropriate login pages from Identity Server login page but on return I get Correlation Failure.
I've tried various googled suggestions to fix the issue but none will so wasn't sure what to try next or if it was a bug.
This is a sample of the B2C registration I am using
and this is the main setup
This is the relevant bit from the IS server log. When logging in using a local login against my custom user store everything succeeds and is working correctly. It is only the process of logging in against an external provider that is causing issues.
Hopefully someone can suggest something to resolve this correlation error. I have already tried a number of googled suggestions including setting the SignInScheme with no luck.
2018-02-28 15:35:10.677 +00:00 [INF] AuthenticationScheme: AADB2C was challenged.
I am having the same error. ".AspNetCore.Correlation. state property not found". It does not happen all the time, but when it does none of our customers can login and the page is stuck at "/signin-oidc". The only way out is to recycle app pool. We do not have multiple OIDC handlers configured.
I have noticed that the version of the OIDC middleware has been upgraded to 2.0.3, so it might be worth trying that approach to see if it fixes the intermittent errors.