title: Identity server 4 in ASP.NET Core 3.1 with MongoDb
body: <p>I am trying to implement Identity Server 4 with ASP.NET Core 3.1 and MongoDb. I found the example over here: <a href="https://github.com/souzartn/IdentityServer4.Samples.Mongo" rel="noreferrer">https://github.com/souzartn/IdentityServer4.Samples.Mongo</a></p>
  
  <p>I am not sure is it good to use mongodb for identity server or SQL Server is better.</p>
  
  <p>Is there any step by step process to understand how identity server implemented with mongo DB.</p>
  
  <p>I want to store the data with user details in the mongo collection with roles and activities</p>
  
  <p>I am new to the mongo DB so please let me know how can I create a Identity Server.</p>
  
  <p>I found the example above but not understood properly.</p>
  
  <p>Can please any one let me know the step by step process</p>