How can I enable social logins from tenant or application API
-
Hi
Ours is a SAAS ap We have Identitify providers Facebook and Google enabled, but everytime we create a new application, we need to turn on Google and Facebook manually.
Would like to know how can we turn in on through Java API library or any other pointer
thank you
-
Sure, you want to use the patch identity provider method: https://github.com/FusionAuth/fusionauth-java-client/blob/master/src/main/java/io/fusionauth/client/FusionAuthClient.java#L1575
You'll want to update the application configuration section: https://fusionauth.io/docs/v1/tech/apis/identity-providers/
Be aware that there is an open issue regarding this: https://github.com/FusionAuth/fusionauth-issues/issues/767 If this affects you, please upvote it so that it moves up in our priority list.
This also may be worth reading: https://fusionauth.io/community/forum/topic/510/update-identity-provider