I was working on upgrading from Sitecore 9.1 to version 10.3.1 and encountered a problem where the Identity Server where it failed to load.
Issue
When accessing the Identity Server, an error with code 502.5 was encountered. The Identity Server, being a .NET Core application, fails