tugberkugurlu / AspNetCore.Identity.MongoDB

MongoDB Data Store Adaptor for ASP.NET Core Identity
MIT License
230 stars 69 forks source link

Logins are not registered #18

Closed francnuec closed 8 years ago

francnuec commented 8 years ago

I see a "logins" array field on the document in the db, but each subsequent login is not being registered.

Is there a setting?

tugberkugurlu commented 8 years ago

No, it should work out by default. Can you give me repro steps or even better: stick a sample in a public repository and share it with me.

francnuec commented 8 years ago

I'm actually just playing around with the samples you provided. Nothing different. It's my first time trying out Mongo, so I'm just testing before I use in a proper project.

tugberkugurlu commented 8 years ago

Are you logging in with a 3rd Party login provider on the sample?

It should look like this by default when you register with a Password login: https://twitter.com/tourismgeek/status/769346069423587328. However, when you start adding 3rd Party logins (e.g. Twitter, etc.), logins array should be filled.

francnuec commented 8 years ago

Oh. I see. I always thought the field was logging each local sign in to the app. Thanks.

tugberkugurlu commented 8 years ago

@francnuec no problem 😄