Skip to content

Commit

Permalink
backend: Update oidc-valid-redirect-urls help string
Browse files Browse the repository at this point in the history
This patch improves the help string of
oidc-valid-redirect-urls by adding explanation
for wildcard support.

Signed-off-by: Santhosh Nagaraj S <[email protected]>
  • Loading branch information
yolossn committed Dec 23, 2021
1 parent 9e4d00c commit 1a03dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/cmd/nebraska/nebraska.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1a03dcb

Please sign in to comment.