Skip to main content

Posts

Showing posts with the label sitecore sso

"An error with Nouce cookie occured" in Sitecore Single Sign-On

"An error with Nouce cookie occured" in Sitecore Single Sign-On I have implemented  Sitecore Single Sign-On using Custom Identity Provider  in my project. This is working fine on-premise but when I deployed it on AWS then this SSO functionality was not working on Chrome and I was getting the below error: Error: Solution: After some research, I found that I need to pass `CookieManager` property in `oidcOptions` object as mentioned below code: public ProjectIdentityProvider( FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager, BaseSettings settings) : base(federatedAuthenticationConfiguration, cookieManager, settings) { this.cookieManager = cookieManager ?? throw new ArgumentNullException(nameof(cookieManager)); } protected override void ProcessCore(IdentityProvidersArgs args) { var authenticationType = this.GetAuthenticationType(); var identity...