Hello Darrell, thanks for your help, I think I have a different problem: the exception occurs before I get redirected to Atzure B2C for user authentication