Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor Net 8.0 Custom Authentication Not Working

$
0
0

I am trying to create my own Identity Model and Store using dapper.

But I am getting this errorenter image description here

Here is my sample code. Note I am using my custom MyIdentityUser and custom AddDapperStores.

builder.Services.AddIdentityCore<MyIdentityUser>(options => options.SignIn.RequireConfirmedAccount = true)    .AddDapperStores()    .AddSignInManager()    .AddDefaultTokenProviders();

I have tried this custom MyIdentityUser and AddDapperStores in Blazor NET 6.0; it works perfectly.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>