codidact / core

The core Codidact Q&A software implementation
GNU Affero General Public License v3.0
259 stars 20 forks source link

Implement IdentityServer & Identity.NET #21

Closed misha130 closed 4 years ago

misha130 commented 4 years ago

As per https://forum.codidact.org/t/what-kind-of-authorization-framework-library-should-we-use/642/7 it has been decided upon IdentityServer/Identity.NET

The following adjustments should be:

   services.AddIdentityServer()
        .AddApiAuthorization<ApplicationUser, ApplicationDbContext>();
misha130 commented 4 years ago

If its ok with everyone I'll take this. I'll use this this as a basis: https://github.com/IdentityServer/IdentityServer4/tree/master/samples/Quickstarts/5_EntityFramework/src