New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net8 branch doesn't build #84
Comments
You may use builder.Services.AddAuthentication().AddBearerToken(IdentityConstants.BearerScheme);
builder.Services.AddAuthorizationBuilder(); However you might wanna try the new net 8 IdentityEndpoints. Like builder.Services.AddAuthentication();
builder.Services.AddAuthorizationBuilder();
builder.Services.AddIdentityApiEndpoints<TodoUser>()
.AddRoles<IdentityRole>()
.AddEntityFrameworkStores<AppDbContext>(); The AddIdentityApiEndpoints will add the AddBearerToken(IdentityConstants.BearerScheme) aswell |
Fixed. |
@davidfowl
|
The Net8 branch works for me. I'm using 8.0.100-rc.1.23455.8 on Win11 |
Hi @davidfowl, Do you recommend it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: