The Problem
We needed to disable identity server in Sitecore 10.4 instance. We followed the instructions mentioned on Sitecore portal here
When we activated the \App_Config\Include\Examples\Sitecore.Owin.Authentication.IdentityServer.Disabler.config.example, we got this error: Cannot find options for the 'SitecoreIdentityJwtBearer' authentication type.
The Solution
We found that we also need to set the authentication type as empty for GraphQL, through below configuration, when you disable the identity server in Sitecore.
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore role:require="Standalone or ContentManagement">
<authoring>
<graphql>
<tokenValidator>
<param desc="authenticationType">
<patch:delete/>
</param>
<param desc="authenticationType"></param>
</tokenValidator>
</graphql>
</authoring>
</sitecore>
</configuration>This fixed the issue for us. Hope it helps you, Happy Sitecoring!!

Comments
Post a Comment