From 03f71a67c21ff83a3afc0c884d634f465e522f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Fri, 24 Feb 2023 10:30:46 +0100 Subject: [PATCH] readme: update example commands --- README.md | 2 +- example/server/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26a08ec..31287e9 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Check the `/example` folder where example code for different scenarios is locate # oidc discovery http://localhost:9998/.well-known/openid-configuration go run github.com/zitadel/oidc/v2/example/server # start oidc web client (in a new terminal) -CLIENT_ID=web CLIENT_SECRET=secret ISSUER=http://localhost:9998 SCOPES="openid profile" PORT=9999 go run github.com/zitadel/oidc/example/client/app +CLIENT_ID=web CLIENT_SECRET=secret ISSUER=http://localhost:9998/ SCOPES="openid profile" PORT=9999 go run github.com/zitadel/oidc/v2/example/client/app ``` - open http://localhost:9999/login in your browser diff --git a/example/server/main.go b/example/server/main.go index 327e294..6b40305 100644 --- a/example/server/main.go +++ b/example/server/main.go @@ -15,7 +15,7 @@ func main() { //we will run on :9998 port := "9998" - //which gives us the issuer: //http://localhost:9998/ + //which gives us the issuer: http://localhost:9998/ issuer := fmt.Sprintf("http://localhost:%s/", port) // the OpenIDProvider interface needs a Storage interface handling various checks and state manipulations