Hello all,
I am not sure if this is the correct category for this question so apologies if it isn't.
I have created a Blazor Server app (.Net 9 - through Radzen blazor studio) and I am using the .Net Core Identity framework for security.
I would like to add the ability for a user to click and use AzureAD as an extra option. I realize you cannot do this through the interface, I'm attempting it manually.
I have been able to configure the necessary services in Program.cs and register an app in Azure, and I have been able to verify that I do got out to a Microsoft login page, then return back to the app, successfully getting information (e.g. claims) in the return.
Unfortunately, this is as far as I have gotten, the application doesn't recognise a successful login and HttpContext.User.Identity.IsAuthenticated is always false.
So before posting bits of code or debug text, I want to ask has anyone else tried to do the same, and introduce an optional alternative login to an app that already has Identity in use?
Is it possible to actually do this?
Me and my single remaining strand of hair would appreciate any advice or suggestions.
Brett.