0

Problem statement :We have a company application and company employees use this application with username@company_domain.com , Active directory takes care of user's identity and roles , now we want some one from outside the organization to access the company application lets say from a facebook account or gmail account , and the AD needs to know these accounts are not from the company domain and dynamically assign them lesser privilege roles.

My question is do I need to have ADFS enabled on the AD ,And if yes can I have good resources for the same.Any help appreciated.

OutOfBounds 94
  • 77
  • 1
  • 13

1 Answers1

1

This is not what ADFS does.

You cannot use social accounts (Facebook etc.) to log directly into ADFS.

(Refer: Connecting ADFS with social logins for an example with Auth0).

Also, ADFS only does authentication and authorisation. It does not have workflows e.g. dynamically assigning roles.

You will have to build this yourself - you can use the Account Management C# API to talk to AD via LDAP.

My suggestion would be to not use ADFS but rather something like Auth0, Okta etc.

These do allow social logins and they have "rules" where you can define workflow.

rbrayb
  • 46,440
  • 34
  • 114
  • 174