Comments (3)
from aspnetcore.identity.mongodbcore.
Hi, Im using ObjectId itself. I can provide a sample document object, which was a custom one, Added additional attributes to the identity user. Here is the existing version schema
{"_id":{"$oid":"5b6ac5f720080f04fcd2c9c2"},"userName":"912222222222","securityStamp":"8aa833e7-4b6f-473f-9067-1590250abdd8","email":"[email protected]","emailConfirmed":false,"phoneNumber":"912222222222","phoneNumberConfirmed":false,"twoFactorEnabled":false,"lockoutEndDateUtc":null,"lockoutEnabled":false,"accessFailedCount":0,"roles":["App-User"],"passwordHash":"ANFylvfVA/jAdFbO0lSU4g4zFSyZKmovRnZrbYiCnb3At6AdebSwjZRi/k72Sn4J9A==","logins":[],"claims":[],"verificationCode":"9174","fullName":"Demo2 User2","photoPath":"http://ss.net/Images/Users/5b6ac5f720080f04fcd2c9c2/0aff7ad0-ab8a-434a-b2fe-1d03d9399af5.jpg","gender":77,"password":"","countryID":1,"languageID":1,"Status":"Available","statusText":"Hi There, I am a fan of Demoapp","seeMyProfilePhoto":0,"seeMyPersonalInfo":0,"seeMyStatus":0,"SocialProvider":"facebook","ProviderKey":"23473735800","FeedbackSubmitted":false,"createdOn":{"$date":"0001-01-01T00:00:00.000Z"},"lastModifiedOn":{"$date":"2018-08-12T19:44:39.744Z"},"MemmorableDates":[],"devices":[{"deviceInfoID":{"$oid":"000000000000000000000000"},"deviceID":"d3W0_7z4jjI:APA91bGrp_NWltj1JWy2z-tcrhfedRbGrYOO5uflhY387PvHgzqPm4zinIKjWFkBRTYp-43fEmzm6J3iGZEFbe0u69pW4ffaia5Ciu6F4Xe3dmTX0MelwtIXjoA5u56-tpfuZJ1arSAa","oS":"Android"}],"myList":null,"myMembers":null}
from aspnetcore.identity.mongodbcore.
I do not think it's possible, the schema looks quite different. You should probably migrate to a new collection with a different schema.
from aspnetcore.identity.mongodbcore.
Related Issues (20)
- Unable to post Register using sample project. HOT 7
- Issues with the 3.1.0 version HOT 3
- Perfomance comparison to SQL databases
- Update Readme HOT 2
- Use of IMongoClient instead of MongoClient HOT 1
- Does this work with .net5? HOT 10
- Comparison with another implementation HOT 2
- Injecting SignInManager through DI causing issues when trying to resolve HOT 4
- Update MongoDb driver to 2.13 HOT 2
- Update (your own) MongoDbGenericRepository nuget to latest 1.4.7 HOT 2
- CollectionNames While Using Generics HOT 1
- Stores use a static IMongoRepository
- This work on .net6 HOT 4
- IDictionary<string, string> Properties missing on MongoClaim HOT 1
- explanation services.AddIdentity multi roles HOT 1
- Does this work with .net7 preview? HOT 1
- Is there a recommended approach to use with worker & console apps?
- How to set document in [users] collection save as camelCase
- Publish next NuGet version
- Login does not work
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 aspnetcore.identity.mongodbcore.