Comments (19)
I migrate the project to aspnetcore 2, using framework 4.6.1 and netstandard2.0
https://github.com/alextochetto/aspnetcore-identity-mongodb
from aspnet-identity-mongo.
@GODBS
I migrate the project to aspnetcore 2, using framework 4.6.1 and netstandard2.0
https://github.com/alextochetto/aspnetcore-identity-mongodb
try this one
at http://alextochetto.com/aspnet-core-2-autenticacao-de-usuario-no-mongodb/
there is an examplo of implementation, it´s in portuguese, but!!
you need to download this package https://github.com/alextochetto/aspnetcore-identity-mongodb
and add as a reference in the project because I don´t have permittion to publish at NuGet because the package has "Microsoft" in it´s name.
from aspnet-identity-mongo.
Hi @rhlrajput I'll try on mac
from aspnet-identity-mongo.
Hi guys, after struggling to make it work core 2, i ended to write from scratch a new version for that framework.
I would like to know what you thing about it
https://github.com/matteofabbri/Microsoft.AspNetCore.Identity.Mongo
from aspnet-identity-mongo.
Hi @huzaynbolt
I migrate the project to aspnetcore 2, using framework 4.6.1 and netstandard2.0
https://github.com/alextochetto/aspnetcore-identity-mongodb
try this one
at http://alextochetto.com/aspnet-core-2-autenticacao-de-usuario-no-mongodb/
there is an examplo of implementation, it´s in portuguese, but!!
regards
from aspnet-identity-mongo.
@rhlrajput I update the solution, and now it's working on mac too.
from aspnet-identity-mongo.
@alextochetto The solution worked like magic. Thanks
from aspnet-identity-mongo.
@matteofabbri thank you aswell. Your implementation worked out in the end for me.
from aspnet-identity-mongo.
@alextochetto The solution worked for me. Thanks a lot.
from aspnet-identity-mongo.
I have the same problem when create a default aspnet core 2 project on VS 2017. By default the project uses Microsoft.AspNetCore.All and the Microsoft.AspNetCore.Identity conflict with Microsoft.AspNetCore.Identity.MongoDB
At aspnet core 1, does not have this problema.
Error Message: Error CS7069 Reference to type 'IdentityBuilder' claims it is defined in 'Microsoft.AspNetCore.Identity', but it could not be found
from aspnet-identity-mongo.
@alextochetto Have how do you resolve the stated Issue, I have been battling with it for quite a while now, but have not been able to resolve it
from aspnet-identity-mongo.
I tried it but am getting this error Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[Microsoft.AspNetCore.Identity.IdentityUser]
from aspnet-identity-mongo.
@huzaynbolt you need to download this package https://github.com/alextochetto/aspnetcore-identity-mongodb
and add as a reference in the project.
from aspnet-identity-mongo.
@alextochetto could you or @g0t4 host the updated package for dotnet core 2.0 on Nuget? It'll be really helpful.
from aspnet-identity-mongo.
Hi @mykeels sorry for my late, I was travelling!
I migrate the project to aspnetcore 2, using framework 4.6.1 and netstandard2.0
https://github.com/alextochetto/aspnetcore-identity-mongodb
try this one
at http://alextochetto.com/aspnet-core-2-autenticacao-de-usuario-no-mongodb/
there is an examplo of implementation, it´s in portuguese, but!!
you need to download this package https://github.com/alextochetto/aspnetcore-identity-mongodb
and add as a reference in the project because I don´t have permittion to publish at NuGet because the package has "Microsoft" in it´s name.
from aspnet-identity-mongo.
I have the same issue
Error Message: Error CS7069 Reference to type 'IdentityBuilder' claims it is defined in 'Microsoft.AspNetCore.Identity', but it could not be found
from aspnet-identity-mongo.
@alextochetto Tried on mac, but no success. I read ur blog can you elaborate more what needs to be done? I have same issue.
from aspnet-identity-mongo.
Hi @matteofabbri I already did it, look at:
https://github.com/alextochetto/aspnetcore-identity-mongodb
from aspnet-identity-mongo.
@alextochetto i checked it out and it looks great, it includes a lot of stuff that i missed in my implementation but is really buggy, it drove me crazy to use it in my website.
Some stuff that i noticed: claims are apparently ignored, maybe i'm doing something wrong i don't know, role name and normalized name are confused.
Example:
- Assign the role "blog" to a user
- [Authorize(Roles = "blog")] doesn't work
- [Authorize(Roles = "BLOG")] works
I'm gonna try to find the time to investigate and fix those problem
from aspnet-identity-mongo.
Related Issues (20)
- Add logging for debugging purposes
- Convert UserLoginInfo to own type - no surprise changes from Core library - like displayName was added in v3
- IRoleClaimStore<TRole> HOT 1
- Need to target both ASP.NET Core on the .NET Framework and .NET Core - all else is irrelevant as this is just an ASP.NET Core Identity model
- Normalization of UserName, Email and Role's Name with Core Identity
- Create extension method AddMongoStore to simplify injecting IUserStore and IRoleStore
- Publish new package - Microsoft.AspNetCore.Identity.MongoDB
- Create a sample for Identity 3 with ASP.NET Core
- AddIdentityWithMongoStoresUsingCustomTypes with IdentityOptions HOT 1
- Problem with normalized roles HOT 4
- Authorize(Roles="Admin") -attribute not working HOT 4
- Timeout at MongoDb connection HOT 2
- HasPassword returns always false HOT 3
- Changes with Auth 2.0 & netcoreapp2.0 HOT 5
- please upgrade this library to .Net core 2.0? HOT 9
- Microsoft.AspNetCore.Identity.MongoDB HOT 1
- Using Mongo identity with ASP Core 2.1 HOT 6
- '45db8e65-d2de-44bc-b512-12750256dcb5' is not a valid 24 digit hex string. HOT 1
- Reference to type 'IdentityBuilder' claims it is defined in 'Microsoft.AspNetCore.Identity', but it could not be found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnet-identity-mongo.