summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorshuisman <shuisman@users.noreply.github.com>2014-12-09 13:53:01 +0100
committershuisman <shuisman@users.noreply.github.com>2014-12-09 13:53:01 +0100
commitaca6546d3fe73216df8db49ceafbc5c3126c1ab0 (patch)
tree7ec7e0d198d8aa0c346ad000d5c69aad64fd0ca2 /docs
parentfd239fca84644896b1971cf24bc6213d065adb86 (diff)
downloadoauthlib-aca6546d3fe73216df8db49ceafbc5c3126c1ab0.tar.gz
Fix documentation
typo
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