aspnet-identity-mongo icon indicating copy to clipboard operation
aspnet-identity-mongo copied to clipboard

Using Mongo identity with ASP Core 2.1

Open Maciejszuchta opened this issue 7 years ago • 6 comments

Hello When updating ASP Core version to 2.1 I'm getting this error: image

Any ideas how to solve this problem.

Maciejszuchta avatar Apr 10 '18 10:04 Maciejszuchta

I am having the same problem +1

arivera12 avatar Apr 22 '18 18:04 arivera12

@arivera12 https://github.com/matteofabbri/AspNetCore.Identity.Mongo This helped me a lot implementing Mongo Identity to AspCore 2.1

Maciejszuchta avatar Apr 23 '18 08:04 Maciejszuchta

This package fixed the error for me: Its on NuGet. Contrib.Microsoft.AspNetCore.Identity.MongoDB

I am in the process of trying to make everything work, so i am not sure if it fixed all problems.

Tagman avatar Apr 23 '18 13:04 Tagman

@Maciejszuchta I will try it. @Tagman I will try your package as well

arivera12 avatar Apr 23 '18 15:04 arivera12

@Maciejszuchta your package still give me the same error. @Tagman you package works out of the box!

arivera12 avatar Apr 23 '18 15:04 arivera12

@arivera12 Funny, The package @arivera12 recommended actually worked out in the end for me. I ran into some more compatiblilty issues with the one I tried and used https://www.nuget.org/packages/AspNetCore.Identity.Mongo. Its the same package just downloadable over Nuget. And it worked for me. I only had to do some slight changes, because of the different API.

Tagman avatar May 12 '18 19:05 Tagman