Update DOC.md
This commit is contained in:
parent
6a08ad5e47
commit
412687216c
1 changed files with 2 additions and 2 deletions
4
DOC.md
4
DOC.md
|
@ -247,7 +247,7 @@ POST /openid/token/ HTTP/1.1
|
||||||
Host: localhost:8000
|
Host: localhost:8000
|
||||||
Cache-Control: no-cache
|
Cache-Control: no-cache
|
||||||
Content-Type: application/x-www-form-urlencoded
|
Content-Type: application/x-www-form-urlencoded
|
||||||
client_id=123&client_secret=456&redirect_uri=http%253A%252F%252Fexample.com%252F&grant_type=authorization_code&code=[CODE]&state=abcdefgh
|
client_id=123&client_secret=456&redirect_uri=http%253A%252F%252Fexample.com%252F&grant_type=authorization_code&code=5fb3b172913448acadce6b011af1e75e&state=abcdefgh
|
||||||
```
|
```
|
||||||
|
|
||||||
**/userinfo endpoint**
|
**/userinfo endpoint**
|
||||||
|
@ -255,7 +255,7 @@ Content-Type: application/x-www-form-urlencoded
|
||||||
```curl
|
```curl
|
||||||
POST /openid/userinfo/ HTTP/1.1
|
POST /openid/userinfo/ HTTP/1.1
|
||||||
Host: localhost:8000
|
Host: localhost:8000
|
||||||
Authorization: Bearer [ACCESS_TOKEN]
|
Authorization: Bearer 2b5e4400bfcf47aa9f6abb1d7432fc60
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|
Loading…
Reference in a new issue