summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIb Lundgren <ib.lundgren@gmail.com>2015-04-02 12:38:56 +0100
committerIb Lundgren <ib.lundgren@gmail.com>2015-04-02 12:38:56 +0100
commite1eee129c074d0de411122d6e1f34a3533952615 (patch)
treeaa9fcbd117fb07694742a26d25923f9f77082725 /docs
parent4902549a2a60973e1c8195f8ed7993ceedd9098d (diff)
parentaca6546d3fe73216df8db49ceafbc5c3126c1ab0 (diff)
downloadoauthlib-e1eee129c074d0de411122d6e1f34a3533952615.tar.gz
Merge pull request #303 from shuisman/patch-1
Fix documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/oauth2/endpoints/token.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/oauth2/endpoints/token.rst b/docs/oauth2/endpoints/token.rst
index 7db6119..292c467 100644
--- a/docs/oauth2/endpoints/token.rst
+++ b/docs/oauth2/endpoints/token.rst
@@ -39,7 +39,7 @@ tokens which unless you are certain you need them, are a bad idea.
# Validate request
uri = 'https://example.com/token'
http_method = 'POST'
- body = 'authorization_code=somerandomstring&'
+ body = 'code=somerandomstring&'
'grant_type=authorization_code&'
# Clients authenticate through a method of your choosing, for example
# using HTTP Basic Authentication