summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2020-01-29 15:52:25 +0100
committerGitHub <noreply@github.com>2020-01-29 15:52:25 +0100
commit845892c6cff508792bc577ebccda2317bc8434f5 (patch)
tree71896c5ab0793c78c5722a68c83bebdaf0d3f347
parent9486345adc40931faa740ee34560222f583e44b7 (diff)
parent00d4d5a62d4bf18fd2642cd667f7e2002211668c (diff)
downloadoauthlib-845892c6cff508792bc577ebccda2317bc8434f5.tar.gz
Update server.rst docs to include request uri in auth code (#714)
Update server.rst docs to include request uri in auth code
-rw-r--r--docs/oauth2/server.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst
index d9846c5..15420f3 100644
--- a/docs/oauth2/server.rst
+++ b/docs/oauth2/server.rst
@@ -239,6 +239,17 @@ the token.
# the scopes into a string.
scopes = django.db.models.TextField()
+**Redirect URI**:
+
+ If the client specifies a redirect_uri when obtaining code then that
+ redirect URI must be bound to the code and verified equal in this
+ method, according to RFC 6749 section 4.1. This field holds that
+ bound value.
+
+ .. code-block:: python
+
+ redirect_uri = django.db.models.TextField()
+
**Authorization Code**:
An unguessable unique string of characters.