From 00d4d5a62d4bf18fd2642cd667f7e2002211668c Mon Sep 17 00:00:00 2001 From: Dan Piet Date: Mon, 13 Jan 2020 13:20:05 -0500 Subject: update server.rst docs necessary auth code fields --- docs/oauth2/server.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- cgit v1.2.1