Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Revert "Temporary whitelist of dev cluster url (#574)" #576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configuration/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down