sorry, I figured out your issue. the individual accounts option (which I don't normally use) uses package:
<PackageReference Include="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="6.0.20" />
this package is used to implement an oauth server backed by the identity database. originally this used the open source IdentityServer4, but switched to the open source Duende when support for IdentityServer4 was dropped. I checked and both the net7 and net8 versions still have this dependency.
as the default blazor wasm authentication uses oauth for authentication, you need an oauth server to authenticate.
if Duende licensing does not fit your needs you will need an alternative oauth server (azure ad, google, AWS, etc). in this case you pick Microsoft Identity rather than individual accounts.
https://duendesoftware.com/products/identityserver
your final option:
- create blazor wasm app without authenication
- use identity scaffolding to add individual accounts to the server project
- add jwt bearer token support to server project
- add a json login page that returns jwt token - google for examples
- add authorizatin package to blazor app
- add login page to the blazor app that fetches the jwt token.
- create a custom autheniction state provider
sample:
https://codewithmukesh.com/blog/authentication-in-blazor-webassembly/#google_vignette