So lately I am trying to setup my Blazor Webassembly (Core hosted) application with Duende IdentityServer. Although most information is well documented, I can't seem to find any examples on how to integrate AspNetIdentity
with Blazor WASM.
The tutorial of using Identityserver with Blazor WASM follows the use of the 'Backend for Frontend (BFF)' approach, so I did that as well. But when I look at the 'Using ASP.NET Core Identity' tutorial, all examples use the
.AddIdentityServer(options =>
{
// ...
})
approach instead of the
.AddBff(options => {
})
approach.
So the question is, is it even possible to use AspNetIdentity
with BFF, if so, where do I add the configuration in my startup? Any pointers to a tutorial or example of this approach would also be much appreciated.