Skip to content

Commit a45d4fe

Browse files
committed
fix: Correct curl snippets for builtin connector example
1 parent fabd880 commit a45d4fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/docs/connectors/local.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,22 @@ Depending on whether you use a public or a private client you need to either inc
8585
**Public Client**
8686
```shell
8787
curl -L -X POST 'http://localhost:8080/dex/token' \
88-
-H 'Authorization: Basic cHVibGljLWNsaWVudAo=' \ # base64 encoded: public-client
88+
-H 'Authorization: Basic cHVibGljLWNsaWVudDo=' \ # base64 encoded: public-client:
8989
-H 'Content-Type: application/x-www-form-urlencoded' \
9090
--data-urlencode 'grant_type=password' \
9191
--data-urlencode 'scope=openid profile' \
9292
--data-urlencode '[email protected]' \
93-
--data-urlencode 'password=admin'
93+
--data-urlencode 'password=password'
9494
```
9595

9696

9797
**Private Client**
9898
```shell
9999
curl -L -X POST 'http://localhost:8080/dex/token' \
100-
-H 'Authorization: Basic cHJpdmF0ZS1jbGllbnQ6YXBwLXNlY3JldAo=' \ # base64 encoded: private-client:app-secret
100+
-H 'Authorization: Basic cHJpdmF0ZS1jbGllbnQ6YXBwLXNlY3JldA==' \ # base64 encoded: private-client:app-secret
101101
-H 'Content-Type: application/x-www-form-urlencoded' \
102102
--data-urlencode 'grant_type=password' \
103103
--data-urlencode 'scope=openid' \
104104
--data-urlencode '[email protected]' \
105-
--data-urlencode 'password=admin'
105+
--data-urlencode 'password=password'
106106
```

0 commit comments

Comments
 (0)