Skip to main content
added 10 characters in body
Source Link

I am using Federated AuthenticationFederated Authentication for external users login (sitecore version 9.2Sitecore version 9.2) After the user is authenticated, User.Identity has is external\anonymousexternal\anonymous and doesn't have the claims returned by the login provider same for HttpContext.GetOwinContext().Authentication.User.IdentityHttpContext.GetOwinContext().Authentication.User.Identity as well.

However, HttpContext.GetOwinContext().Authentication.AuthenticateAsync("ExternalCookie")HttpContext.GetOwinContext().Authentication.AuthenticateAsync("ExternalCookie") returns correct identity and claims

Is there any sitecore'sSitecore's pipeline/process that is causing so? Any insights to resolve it?

I am using Federated Authentication for external users login (sitecore version 9.2) After the user is authenticated, User.Identity has is external\anonymous and doesn't have the claims returned by the login provider same for HttpContext.GetOwinContext().Authentication.User.Identity as well.

However, HttpContext.GetOwinContext().Authentication.AuthenticateAsync("ExternalCookie") returns correct identity and claims

Is there any sitecore's pipeline/process that is causing so? Any insights to resolve it?

I am using Federated Authentication for external users login (Sitecore version 9.2) After the user is authenticated, User.Identity has is external\anonymous and doesn't have the claims returned by the login provider same for HttpContext.GetOwinContext().Authentication.User.Identity as well.

However, HttpContext.GetOwinContext().Authentication.AuthenticateAsync("ExternalCookie") returns correct identity and claims

Is there any Sitecore's pipeline/process that is causing so? Any insights to resolve it?

edited tags
Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117
Source Link
manaslu
  • 397
  • 2
  • 9

sitecore federated authentication GetOwinContext() doesn't have authenticated user info

I am using Federated Authentication for external users login (sitecore version 9.2) After the user is authenticated, User.Identity has is external\anonymous and doesn't have the claims returned by the login provider same for HttpContext.GetOwinContext().Authentication.User.Identity as well.

However, HttpContext.GetOwinContext().Authentication.AuthenticateAsync("ExternalCookie") returns correct identity and claims

Is there any sitecore's pipeline/process that is causing so? Any insights to resolve it?