Skip to content

Commit 1169f81

Browse files
committed
Add scope in curl.
authlib#36
1 parent 07a6c5d commit 1169f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Before testing, we need to create a client:
4343
Get your `client_id` and `client_secret` for testing. In this example, we
4444
have enabled `password` grant types, let's try:
4545

46-
$ curl -u ${client_id}:${client_secret} -XPOST http://127.0.0.1:5000/oauth/token -F grant_type=password -F username=${username} -F password=valid
46+
$ curl -u ${client_id}:${client_secret} -XPOST http://127.0.0.1:5000/oauth/token -F grant_type=password -F username=${username} -F password=valid -F scope=profile
4747

4848
Because this is an example, every user's password is `valid`. For now, you
4949
can read the source in example or follow the long boring tutorial below.

0 commit comments

Comments
 (0)