Implement the needed identity pages(ui) like login, register, etc with radzen and use identity endpoints not the identity razor pages so like a spa. In this way, I think , you will have a fresh HttpContext (that identity framework can use) when you will make a http req from the radzen pages locally to your identity endpoints. In the end the main goal for auth is to get cookie/token to your client side