From 881d29f0d00077fac74a80a46b982be8867dad12 Mon Sep 17 00:00:00 2001 From: shoubhik bose Date: Fri, 3 Aug 2018 18:45:24 +0530 Subject: [PATCH] Revert "Temporary whitelist of dev cluster url (#574)" This reverts commit 63c16e8dfd9fb3b6a1562e6971fe68e68c108a88. --- configuration/defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/defaults.go b/configuration/defaults.go index 605382f0..4675948f 100644 --- a/configuration/defaults.go +++ b/configuration/defaults.go @@ -108,7 +108,7 @@ vwIDAQAB // DefaultValidRedirectURLs is a regex to be used to whitelist redirect URL for auth // If the AUTH_REDIRECT_VALID env var is not set then in Dev Mode all redirects allowed - * // In prod mode the following regex will be used by default: - DefaultValidRedirectURLs = "^(https|http)://(([^/?#]+[.])?(?i:openshift[.]io)|localhost|(?i:rhche-dfestal-preview-che[.]dev[.]rdu2c[.]fabric8[.]io))((/|:).*)?$" //"^(https|http)://(([^/?#]+[.])?(?i:openshift[.]io)|localhost)((/|:).*)?$" // *.openshift.io/* and localhost + DefaultValidRedirectURLs = "^(https|http)://(([^/?#]+[.])?(?i:openshift[.]io)|localhost)((/|:).*)?$" // *.openshift.io/* and localhost devModeValidRedirectURLs = ".*" serviceAccountConfigFileName = "service-account-secrets.conf"