skoruba / IdentityServer4.Admin

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

Decouple User Management from IS4 Admin UI #357

Open carlospence opened 5 years ago

carlospence commented 5 years ago

Is it possible to decouple User management form IS4 Admin UI. Would love to use it on an existing project that has its own user and roles management but just want to use your project for IdentityServer Admin management only such as Client, API & Identity Resources, Persistent Grants etc.

If it is possible, what are the steps I can take to decouple it? Thanks

shubham-vunet commented 5 years ago

IS4 Admin uses Identity server and you can use connection string to point existing database.

Or you can

You still need to use connection string of Existing Identity Database.

You are ready to rock.

skoruba commented 5 years ago

I agree with @cossth - you can remove views, controllers and middlewares regarding to identity, but unfortunately I don’t have specific steps for removing identity from solution yet. I plan make these steps later.

Thanks!

shubham-vunet commented 5 years ago

Maybe I should give it a try.

skoruba commented 5 years ago

It would be perfect. 👍🏼 Thank you

carlospence commented 5 years ago

@cossth , Let me know your final result.

shubham-vunet commented 5 years ago

We have two choices

  1. We can create two applications for each task.
  2. We can have different roles in single application.

I think later option is better.

skoruba commented 5 years ago

My main idea was create flag for dotnet template and this flag will exlude all things regarding to Identity. So maybe if you have list of dependencies regarding to Identity, it would be helpful. :)