WebAPI authentication with Blazor WASM

I am creating a real estate webapp with Blazor Wasm as a frontend and WebApi (with either Minimal APIs or FastEndPoints) as my backend for my CS project that targets real-world application. I chose a modular monolith architecture with an API gateway (which might be changed into BFF pattern if I add in mobile UIs). The question is which type of authentication do I use. It seems that AspNet Identity is the easiest but most internet blogs are suggesting I use JWT.
Was this page helpful?