skoruba / IdentityServer4.Admin

The administration for the IdentityServer4 and Asp.Net Core Identity
MIT License
3.56k stars 1.15k forks source link

How to use mongdb #135

Open cnkker opened 5 years ago

cnkker commented 5 years ago

How to use mongdb?help...

xmichaelx commented 5 years ago

You want to update ASP.NET Identity-related code with:

https://github.com/g0t4/aspnet-identity-mongo

And IS4-related code with:

https://github.com/diogodamiani/IdentityServer4.Contrib.MongoDB

But unless there is a sufficient demand for that we do not intend to test and support scenarios with MongoDB and prefer to stick with relational databases.

RagingKore commented 5 years ago

First and foremost, congrats on the project as it seems very interesting and a lot of hard work was put into it.

But actually @xmichaelx any document database is, in my opinion, at least 10x better than a relational one for this. Incredibly simple to use and maintain the total opposite of a relational database.

Anyway, I'm atm evaluating the project to see how simple it is too abstract all storage concerns so that any type of database can be used, by creating adapters, something that could have been done in the first place, but I guess EF was right there at hand.

I already have IdentityServer4 and AspNetCore Identity and Data Protection implementations for MongoDB, but how far the rabbit hole goes in id-svr admin I'm am yet to find out.

If doable, would this be of interest @skoruba @xmichaelx ?

skoruba commented 5 years ago

@RagingKore - For sure, if you can explore more details about mongo, feel free send some feedback or even PR. 😊 Thanks!

RagingKore commented 5 years ago

I see at least a couple of steps that need to be done, in order to start, but the main one is to upgrade to core 3.0 and add docker files.

Is there any PR going for the net core upgrade? I know that there is something for docker. It is very simple to do so I might go for it too.

RagingKore commented 5 years ago

opps I found the core 3.0 PR but it is broken for now.

skoruba commented 5 years ago

Yeah, that is my task, merge all PRs, currently I am busy for reviews, but I will work on it ASAP. :)

Is it docker for you also important?

sateeshs commented 4 years ago

Any updates on Mongodb