fix(admin): populate OIDC settings in admin panel from environment variables

- Use load_effective_oidc_config() to get OIDC settings, which applies env var overrides
- Use effective.redirect_uri for callback_url instead of calculated value from server_base_url
- This ensures the admin panel shows the correct OXICLOUD_OIDC_REDIRECT_URI value
This commit is contained in:
George Wu
2026-02-18 19:41:43 -08:00
parent e2a2026c3d
commit 5738ddbb54
@@ -171,7 +171,7 @@ impl AdminSettingsService {
admin_groups: effective.admin_groups,
disable_password_login: effective.disable_password_login,
provider_name: effective.provider_name,
callback_url: self.callback_url(),
callback_url: effective.redirect_uri.clone(),
env_overrides: self.get_env_overrides(),
})
}