Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IdentityServer4 with Active Directory as an Identity Provider for SSO

Anyone know if the following is possible?

  1. IdentityServer4 with Active Directory as an Identity Provider — How?
  2. Extra claims and roles using IdentityServer4 that link back to an AD user — How?
like image 529
RKD Avatar asked Oct 24 '16 08:10

RKD


1 Answers

Yes, it is possible to use AD as an identity provider in IdentityServer. Take a look at mclark1129's IdentityServer4.Samples repo for an example. You can see the claims being generated in the AccountController.

While this example uses Azure AD, it is using it as a generic OpenIdConnect provider. Provided you are using a version of AD and Active Directory Federation Services (ADFS) which support OpenIdConnect, you can configure it is an upstream OpenIDConnect identity provider.

like image 172
kg743 Avatar answered Nov 05 '22 09:11

kg743