Version 8.7 MVC and angular
We look to enable Openid auth with AD and need to configure it for multiple tenants/customers who have there own azure tenant, Azure Active directory and users. How can we dynamically change appsettings Openid config values(tenantid & clientid) for different AD account at runtime ??
On webhostmodule startup can't get the tenant info to switch openid AD config value(tenantid & clientid) at runtime.
Please suggest..!!
1 Answer(s)
-
1
Hi,
This feature is implemented with ABP v9.0 with this issue https://github.com/aspnetzero/aspnet-zero-core/issues/3331. So, you need to upgrade your solution to at least 9.0. You can upgrade your solution by following https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Version-Updating.
After that, if you set
AllowSocialLoginSettingsPerTenant
totrue
in your appsettings.json file, then each tenant can configure OpenID settings.