From 33e3c04b383041c1836f3e2a129fa43148bb22e5 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Tue, 23 Feb 2016 13:47:13 -0800 Subject: [PATCH] examples: set example app flag defaults to work with --no-db mode --- examples/app/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/app/main.go b/examples/app/main.go index 56dc9789..bbcc4386 100644 --- a/examples/app/main.go +++ b/examples/app/main.go @@ -28,11 +28,11 @@ func main() { fs := flag.NewFlagSet("oidc-app", flag.ExitOnError) listen := fs.String("listen", "http://127.0.0.1:5555", "") redirectURL := fs.String("redirect-url", "http://127.0.0.1:5555/callback", "") - clientID := fs.String("client-id", "", "") - clientSecret := fs.String("client-secret", "", "") + clientID := fs.String("client-id", "example-app", "") + clientSecret := fs.String("client-secret", "ZXhhbXBsZS1hcHAtc2VjcmV0", "") caFile := fs.String("trusted-ca-file", "", "the TLS CA file, if empty then the host's root CA will be used") - discovery := fs.String("discovery", "https://accounts.google.com", "") + discovery := fs.String("discovery", "http://127.0.0.1:5556", "") logDebug := fs.Bool("log-debug", false, "log debug-level information") logTimestamps := fs.Bool("log-timestamps", false, "prefix log lines with timestamps")