I have implemented ADFS authentication in my .NET Core Razor Web Application (which also has a corresponding app registered in Azure AD). I have the following code in