From 64a9c7382058da5a9872f46f024e089e00abe45c Mon Sep 17 00:00:00 2001 From: Santhosh Nagaraj S Date: Mon, 20 Dec 2021 10:02:54 +0530 Subject: [PATCH] backend: Update oidc-valid-redirect-urls help string This patch improves the help string of oidc-valid-redirect-urls by adding explanation for wildcard support. Signed-off-by: Santhosh Nagaraj S --- backend/cmd/nebraska/nebraska.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/cmd/nebraska/nebraska.go b/backend/cmd/nebraska/nebraska.go index 23edd8603..160211ba1 100644 --- a/backend/cmd/nebraska/nebraska.go +++ b/backend/cmd/nebraska/nebraska.go @@ -62,7 +62,7 @@ var ( oidcClientID = flag.String("oidc-client-id", "", "OIDC client ID used for authentication") oidcClientSecret = flag.String("oidc-client-secret", "", fmt.Sprintf("OIDC client Secret used for authentication; can be taken from %s env var too", oidcClientIDEnvName)) oidcIssuerURL = flag.String("oidc-issuer-url", "", fmt.Sprintf("OIDC issuer URL used for authentication;can be taken from %s env var too", oidcClientSecretEnvName)) - oidcValidRedirectURLs = flag.String("oidc-valid-redirect-urls", "http://localhost:8000/*", "OIDC valid Redirect URLs") + oidcValidRedirectURLs = flag.String("oidc-valid-redirect-urls", "http://localhost:8000/*", "OIDC valid Redirect URLs accepts comma separated values with wildcard *, for example if nebraska is hosted at http://nebraska.kinvolk.io the value should be http://nebraska.kinvolk.io/*") oidcAdminRoles = flag.String("oidc-admin-roles", "", "comma-separated list of accepted roles with admin access") oidcViewerRoles = flag.String("oidc-viewer-roles", "", "comma-separated list of accepted roles with viewer access") oidcRolesPath = flag.String("oidc-roles-path", "roles", "json path in which the roles array is present in the id token")