-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to setup OIDC configuration globally? #2225
Comments
The concept is that External Login settings can be set globally in appsettings.json similar to the .NET Core Identity options. There is a method ConfigureOqtaneAuthenticationOptions() to read the OIDC and OAuth settings - however it has not been tested as much as the per-site options, so you may encounter some challenges. |
After reviewing the code, it appears some modifications will be required to allow global configuration for External Login via appsettings. |
@sbwalker, thanks for confirming it! |
Sorry for the slow response... as a general rule in Oqtane we are trying to minimize the clutter in appsettings as it tends to be problematic for upgrades, etc... in the long term. So as an alternative I am trying to explore the challenges in storing these global settings in the database - there is a HostSettings concept in the framework already... it is more a matter of determining a UX strategy which aligns with the current patterns. |
We are adding sites to Oqtane programatically and would like to add global configuration for External Logins(OIDC) so that each site can benefit from external login, instead of specifying External login over and over again.
I have read in the Oqtane Security implementation that there is something called global configuration for External Login. I'm unable to find it.
Apologies if it sounds like stupid but I have less than 20 hours on Oqtane so far.
The text was updated successfully, but these errors were encountered: