From 573fe416b04b2e9beaadb65e3b929f537736a137 Mon Sep 17 00:00:00 2001 From: Jake Francois Date: Sat, 19 Mar 2022 09:22:17 -0500 Subject: [PATCH] added the text fields to Openidc defaults section --- backend/models/proxy_host.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/backend/models/proxy_host.js b/backend/models/proxy_host.js index 30d4c73b..927ff322 100644 --- a/backend/models/proxy_host.js +++ b/backend/models/proxy_host.js @@ -34,6 +34,18 @@ class ProxyHost extends Model { if (typeof this.openidc_auth_method === 'undefined') { this.openidc_auth_method = 'client_secret_post'; } + if (typeof this.openidc_redirect_uri === 'undefined') { + this.openidc_redirect_uri = ''; + } + if (typeof this.openidc_discovery === 'undefined') { + this.openidc_discovery = ''; + } + if (typeof this.openidc_client_id === 'undefined') { + this.openidc_client_id = ''; + } + if (typeof this.openidc_client_secret === 'undefined') { + this.openidc_client_secret = ''; + } this.domain_names.sort(); this.openidc_allowed_users.sort();