OrchardCore: Azure AD settings (possibly others) can't actually be configured from the configuration provider
Describe the bug
To Reproduce
- Use
ConfigureAzureADSettings()as instructed in the docs. - Observe that no configuration takes effect.
This was added in https://github.com/OrchardCMS/OrchardCore/pull/12033. The reason nothing happens is there is actually no IOptions or anything referencing AzureADSettings, it always comes from site settings via AzureADService.
Expected behavior
The Azure AD settings partially or fully can be provided by configuration providers like the appsettings file.
Note that other such extension added in https://github.com/OrchardCMS/OrchardCore/pull/12033 should be checked as well to see if a similar commission exists.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (15 by maintainers)
E-mail settings I happen to know work.
The issue is that as far as I see, there’s nothing that would make
ConfigureAzureADSettings()take effect, since the provider-based configuration is never accessed.