Skip to content

How to power AzureAD settings via configuration? #8432

Answered by jtkech
willnationsdev asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you would need the OrchardCore section, as usualy we use our IShellConfiguration that is tenant aware and looks under this section, and you would also need a section whose name is the module name with underscores, here

OrchardCore_Microsoft_Authentication

But looking at the code, the related code only configures the options from the site settings, so set under the admin UI.

So, you would need some code that configures the related options by using IShellConfiguration, this in a module startup that runs after, so that depends on OrchardCore.Microsoft.Authentication in its manifest, or by overriding in the startup the Order prop with an higher value, the same can be done from the app b…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@willnationsdev
Comment options

Answer selected by willnationsdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants