Larsi
Larsi

Reputation: 4774

Azure B2C and ADFS

I understand that the use of Azure B2C and ADFS together is not supported.

What are my options if I need both Facebook/Google for customers and ADFS for partners?

I know creating my own STS using IdentityServer, and fedearating to Azure B2C or ADFS would be an option, but then again - building my own STS is what I hope to avoid.

Regards Larsi

Upvotes: 2

Views: 2200

Answers (2)

rbrayb
rbrayb

Reputation: 46720

UPDATE

B2C can federate with ADFS. Follow B2C MSDN Doc to federate.

OLD ANSWER

B2C at the moment does not allow federation to other STS.

Also it only supports OpenID Connect which is only available on ADFS 4.0 - Server 2016.

You can get this working by using IdentityServer as a bridge. Hook ADFS up via federation and B2C up via OIDC. Note that B2C uses an OAuth extension for the policies so you need some custom code in Identity Server to support this.

You can also use ACS and federate this with ADFS. (Although ACS will be deprecated "soon").

Refer: Azure B2C : Integration with IdentityServer

Or use a third party tool e.g. Auth0 as above.

Auth0 has tons of social providers!

Upvotes: 3

Eugenio Pace
Eugenio Pace

Reputation: 14212

This use case is trivial if you use Auth0.

Your app --> Auth0 -+-> Social logins (FB, Google, etc)
                    |
                    +-> ADFS Customer 1    
                    |
                    +-> ADFS Customer 2

DISCLAIMER: I work there.

Upvotes: 1

Related Questions