diff --git a/examples/app/main.go b/examples/app/main.go index a8d1ed58..56dc9789 100644 --- a/examples/app/main.go +++ b/examples/app/main.go @@ -30,7 +30,7 @@ func main() { redirectURL := fs.String("redirect-url", "http://127.0.0.1:5555/callback", "") clientID := fs.String("client-id", "", "") clientSecret := fs.String("client-secret", "", "") - caFile := fs.String("ca-file", "", "the TLS CA file, if empty then the host's root CA will be used") + 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", "") logDebug := fs.Bool("log-debug", false, "log debug-level information") @@ -245,9 +245,9 @@ func handleCallbackFunc(c *oidc.Client) http.HandlerFunc { return } - s := fmt.Sprintf(`Claims: %v
+ s := fmt.Sprintf(`

Token: %v

Claims: %v

Resend Verification Email -`, claims, tok.Encode()) +`, tok.Encode(), claims, tok.Encode()) w.Write([]byte(s)) } }