Sitecore 10.2 Identity Server invalid_request Error While I was trying to log in to Sitecore content management, the below error was coming "Sorry, There was an error: invalid request". So after some investigation, I found that for the content management server I had a different hostname which I need to configure in Sitecore.  Solution To solve this error go to <IdentityServer>\Config\production\Sitecore.IdentityServer.Host.xml  and add one  AllowedCorsOriginsGroup2 inside  AllowedCorsOrigins .   <AllowedCorsOrigins>          <AllowedCorsOriginsGroup1>https://xx.xx</AllowedCorsOriginsGroup1>           <AllowedCorsOriginsGroup2>https://xx-xx-xx.xx.xx</AllowedCorsOriginsGroup2>     </AllowedCorsOrigins>