Base solution for your next web application
Open Closed

Enabling/Disabling social login providers per tenant #9893


User avatar
0
chintanshah created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? - 9.3.0
  • What is your product type (Angular or MVC)? - Angular
  • What is product framework type (.net framework or .net core)? - .net core

Is it possible to enable and disable social logins per tenant? I know that by enabling "AllowSocialLoginSettingsPerTenant" allows settings to be changed per tenant. But I want to enable and disable specific social login providers per tenant i.e. I want Azure AD enabled for Tenant1 but disabled for Tenant2.


2 Answer(s)
  • User Avatar
    0
    zony created
    Support Team

    Hi chintanshah, Currently Zero does not support this feature. You can use Feature Management or Setting Management Perform tenant isolation storage. Change the GetEnabledSocialLoginSettings method of SettingsAppServiceBase to get the setting value from the above storage.

  • User Avatar
    0
    chintanshah created

    Thanks for the suggestion, will try implementing the same.