How to map IdentityServer4 Identity to any WebApp (.Net MVC Boilerplate, .Net Core Boilerplate)

后端 未结 1 1290
生来不讨喜
生来不讨喜 2021-01-04 10:38

I\'m creating an SSO server, to centralize all users in ActiveDirectory(AD) and manage them there instead of the database of each specific application.

To made this s

相关标签:
1条回答
  • 2021-01-04 11:08

    I think the GrantType.ResourceOwnerPassword flow doens't support AD login and not support by the UseOpenIdConnectAuthentication neither , you can use Implicit or Hybrid flow.
    Once you authenticate the to your client mvc app, you can view any claims in HttpContext.User and find the correct claim value as user's identity (they are just claims , and no need to create a local account)

    0 讨论(0)
提交回复
热议问题