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
0 Asked on August 23, 2021 by gautam-aneja
2 Asked on August 23, 2021 by corey-burnett
1 Asked on August 23, 2021 by suresh-r
1 Asked on August 23, 2021 by sitecorenerd
4 Asked on August 23, 2021 by rajesh-kumar
3 Asked on August 23, 2021 by breno-diniz-pelosi
2 Asked on August 23, 2021 by serhii-shushliapin
3 Asked on August 23, 2021 by arpana-mittal
1 Asked on August 23, 2021 by nadine-lendzian
2 Asked on August 23, 2021 by alok-kumar
1 Asked on August 23, 2021 by siddharth
2 Asked on August 23, 2021 by barada-behura
0 Asked on August 23, 2021 by sonu
1 Asked on August 23, 2021 by arun-tiwari
1 Asked on August 23, 2021 by pirate-briggs
1 Asked on August 23, 2021 by user2980
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP