0

We are getting the below error only when deploying in Production env but the same DevOps pipeline works fine for lower env. Any insight?

ERROR [Sitecore Identity] 'http://www.sitecore.net/identity/claims/originalIssuer' claim is missing

ERROR Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware - Authentication failed

Exception: System.InvalidOperationException

Message: Cannot find user builder

Source: Sitecore.Owin.Authentication

at Sitecore.Owin.Authentication.Services.DefaultApplicationUserResolver.d__16.MoveNext()

0

We have resolved the issue with help of the Sitecore support team.

We have customized the below DefaultExternalUserBuilder pipeline and that caused the root cause for the Sitecore Serialization during deployment.

<externalUserBuilder type="Foundation.FederatedAuthentication.Services.ExternalDomainUserBuilder, Foundation.FederatedAuthentication" patch:instead="*[@type='Sitecore.Owin.Authentication.Services.DefaultExternalUserBuilder, Sitecore.Owin.Authentication']" resolve="true">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.