We're getting Correlation failed and sometimes '{CorrelationCookieName}' cookie not found.
System.Exception: An error was encountered while handling the remote login.
---> System.Exception: Correlation failed.
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Duende.IdentityServer.Hosting.FederatedSignOut.AuthenticationRequestHandlerWrapper.HandleRequestAsync() in /_/src/IdentityServer/Hosting/FederatedSignOut/AuthenticationRequestHandlerWrapper.cs:line 52
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Duende.IdentityServer.Hosting.DynamicProviders.DynamicSchemeAuthenticationMiddleware.Invoke(HttpContext context) in /_/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/DynamicSchemeAuthenticationMiddleware.cs:line 48
at Duende.IdentityServer.Hosting.BaseUrlMiddleware.Invoke(HttpContext context) in /_/src/IdentityServer/Hosting/BaseUrlMiddleware.cs:line 28
at <REDACTED>.JWKSResponseHeaderMiddleware.Invoke(HttpContext context) in /home/vsts/work/1/s/src/<REDACTED>.Host/JWKCacheMiddleware.cs:line 28
at Program.<>c.<<<Main>$>b__0_21>d.MoveNext() in /home/vsts/work/1/s/src/<REDACTED>.Host/Program.cs:line 308
--- End of stack trace from previous location ---
at <REDACTED>.ExceptionHandlerMiddleware.Invoke(HttpContext context) in /home/vsts/work/1/s/src/<REDACTED>/ExceptionHandlerMiddleware.cs:line 27
Can you guys spot what we are missing in regards to the configuration? There is not Cookie-specific configuration in our code, so it should all be whatever is the default. We also noticed that it happens way more often with Google signing rather than Facebook or Apple.
That is essentially preventing people from authenticate.
Hello!
We're getting
Correlation failed
and sometimes'{CorrelationCookieName}' cookie not found.
The authentication is configured as follow:
And Identity Server like this:
Can you guys spot what we are missing in regards to the configuration? There is not Cookie-specific configuration in our code, so it should all be whatever is the default. We also noticed that it happens way more often with Google signing rather than Facebook or Apple.
That is essentially preventing people from authenticate.
Identity Server: 6.2.0 .Net: 7
Thank you! I really appreciate any insights.