Tuesday, February 18, 2020

Sitecore Identity Server Error: Sorry, there was an error : unauthorized_client in Sitecore 9.1 login to CMS Azure App Service PAAS


 
Hello Sitecore Engineers,


 This is kind of an easy one, but I thought id throw it into a blog post in case it helps someone:


After adding a new binding from IIS on my Sitecore 9.1 instance I was getting "unauthorized client" error while login with newly added binding URL.

 The official doc for this is here but they don't talk about using the pipe operator


File Name : Sitecore.IdentityServer.Host.xml
Location : C:\inetpub\wwwroot\9Dot1.identityserver\Config\production

After adding field tag AllowedCorsOriginsGroup in  Sitecore.IdentityServer.Host.xml file I was able to login properly with newly added URL.

Also you can fix this issue by placing a pipe operator beside of old AllowedCorsOriginsGroup as below like this:.

<AllowedCorsOriginsGroup1>http://9Dot1.sc | http://jss.9Dot1.sc</AllowedCorsOriginsGroup1

Hope this Helps

Colin Cooper

1 comment:

  1. Casino Roll - Deposit, Play, Bonus, and Much More!
    Casino Roll casino gives 다 파벳 먹튀 you the opportunity to try new games m2 슬롯 and 토토 라이브 스코어 a free cash play experience. 망고 도매인 You will find slots, table games, 토토꽁머니 and video poker to

    ReplyDelete