Sitecore Asked by Johnny Lopez on December 7, 2021
After upgrading to Sitecore 9.3
, some times, users are not able to log in to Content Delivery (using ADFS) because we’re exceeding the maximum editor’s restriction by license. It’s weird because is Content Delivery. The error I’m seeing in logs is:
The maximum number of simultaneously active (logged-in) editors exceeded. The User extranetxxxx cannot be logged in to the system. The maximum of editors allowed by license is 10.
The user is then redirected to /sitecore/client/Applications/LicenseOptions/StartPage
but is throwing 404 error, obviously, because it is Content Delivery site.
This is the support help I got and fixed it: Could you please try overriding the CheckDomainGuard processor using the following:
namespace CustomNamespace
{
public class CustomCheckDomainGuard : Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CheckDomainGuard
{
public CustomCheckDomainGuard(BaseLog log) : base(log)
{
}
public override void Process(SignedInArgs args)
{
if (string.Equals(args.Site.Name, Sitecore.Constants.ShellSiteName, StringComparison.Ordinal))
{
base.Process(args);
}
}
}
}
Then please use a patch file containing the following to patch it in:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/">
<sitecore>
<pipelines>
<owin.cookieAuthentication.signedIn>
<processor type="Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CheckDomainGuard, Sitecore.Owin.Authentication" patch:instead="*[@type='CustomNamespace.CustomCheckDomainGuard, CustomAssembly']" resolve="true" />
</owin.cookieAuthentication.signedIn>
</pipelines>
</sitecore>
</configuration>
Answered by Johnny Lopez on December 7, 2021
Sitecore support has registered this a bug with reference number 366550, and there is a hotfix available for 9.2 and 9.3 here.
Answered by Joost on December 7, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP