File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,22 +85,22 @@ Depending on whether you use a public or a private client you need to either inc
85
85
**Public Client**
86
86
` ` ` shell
87
87
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:
89
89
-H 'Content-Type: application/x-www-form-urlencoded' \
90
90
--data-urlencode 'grant_type=password' \
91
91
--data-urlencode 'scope=openid profile' \
92
92
--data-urlencode 'username=admin@example.com' \
93
- --data-urlencode 'password=admin '
93
+ --data-urlencode 'password=password '
94
94
` ` `
95
95
96
96
97
97
**Private Client**
98
98
` ` ` shell
99
99
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
101
101
-H 'Content-Type: application/x-www-form-urlencoded' \
102
102
--data-urlencode 'grant_type=password' \
103
103
--data-urlencode 'scope=openid' \
104
104
--data-urlencode 'username=admin@example.com' \
105
- --data-urlencode 'password=admin '
105
+ --data-urlencode 'password=password '
106
106
` ` `
You can’t perform that action at this time.
0 commit comments