Skip to main content

Posts

Showing posts with the label identity provider

"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...

Sitecore Single Sign-On using Custom Identity Provider

Sitecore Single Sign-On using Custom Identity Provider In the previous blog, we discussed Azure AD Integration with Sitecore  for content management. Now in this blog, we are going to discuss how we can allow the end users to log in through SSO. Single Sign On allows users to enter credentials only one time instead of entering the credentials on each application. Sitecore identity server that comes with Sitecore 9.1 allows you to log in through an external identity provider like Azure Active Directory, Facebook, Apple, or Google. It is built on Federation Authentication. Sitecore Identity. Below are the steps: Step 1: Configure OpenID Connect Create a pipeline processor to configure OpenID connect to talk to custom identity providers. Step 2: Patch File Create a patch file that will register a custom Sitecore identity. Step 3:  Login Button Functionality Now on clicking on the login button, you need to redirect to SSO so for this controller add below code: SXA: In the SXA we...