Add Identity provider for more than one platform in a single Azure AD B2C Tenant
Hi, We were using B2C to setup facebook login. We were able to add an identity provider whose client id and client secret were linked to facebook IOS App. But we also require to set up facebook login on app running on Android. How can we do it in the same tenant?
Can you elaborate on your scenario? Why do you want to link your B2C Facebook identity provider using the same Facebook client ID and secret as your IOS/Android apps?
Sikander Mirza commented
a. add 2 applications in your aadb2c tenant, one for IOS App and the other for Andriod, specify the Redirect URL's respectively.
b. add an identity provider, go to the developer site of the IDP and create an application, select native, specify an redirect URI which will be your aadb2c tenant, copy the client id/secret.
c. complete the add identity provider wizard by supplying the client id/secret.
d. create signin/signup and other policies and use in your application code.
e. the IDP will serve for both of your apps.
Hope i make sense.
Can you email us at AADB2C@microsoft.com. We would like to understand your scenario more specifically and why you need to have an individual Facebook app for each of your platforms.
Hi, I already linked my facebook iOS app's client id and secret to my b2c tenant. Now how can I link my facebook android app's client id and secret to my same b2c tenant? Similarly how can I achieve this for google as well?