Coder Social home page Coder Social logo

Comments (3)

alexandre-spieser avatar alexandre-spieser commented on June 3, 2024

from aspnetcore.identity.mongodbcore.

jyothishwhatshalliget avatar jyothishwhatshalliget commented on June 3, 2024

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.

alexandre-spieser avatar alexandre-spieser commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.