diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2020-04-22 16:11:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 16:11:47 +0200 |
commit | af5ac6d7da7aaad09ab5ffeb31a2972aaffe3e2f (patch) | |
tree | e7dc3844024d38021ba4edc4fb6dbb55a85d2e56 /docs/oauth2/oidc/grants.rst | |
parent | 75b9f4f7e4387e670a3fae925d5522ff3a01a746 (diff) | |
parent | 82544c2034987080ad6e11c3f1efe7378467c57b (diff) | |
download | oauthlib-af5ac6d7da7aaad09ab5ffeb31a2972aaffe3e2f.tar.gz |
Merge branch 'master' into doc-sponsor
Diffstat (limited to 'docs/oauth2/oidc/grants.rst')
-rw-r--r-- | docs/oauth2/oidc/grants.rst | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/oauth2/oidc/grants.rst b/docs/oauth2/oidc/grants.rst new file mode 100644 index 0000000..aa1f70f --- /dev/null +++ b/docs/oauth2/oidc/grants.rst @@ -0,0 +1,41 @@ +=========== +Grant types +=========== + +The OpenID Connect specification adds a new `Hybrid` flow and adds +variants to the existing `Authorization Code` and `Implicit` +flows. They share the same principle: having `openid` in the scope and +a combination of new `response_type` values. + + +.. list-table:: OpenID Connect "response_type" Values + :widths: 50 50 + :header-rows: 1 + + * - "response_type" value + - Flow + * - `code` + - Authorization Code Flow + * - `id_token` + - Implicit Flow + * - `id_token token` + - Implicit Flow + * - `code id_token` + - Hybrid Flow + * - `code token` + - Hybrid Flow + * - `code id_token token` + - Hybrid Flow + + +Special Dispatcher classes have been made to dynamically route the HTTP +requests to either an OAuth2.0 flow or an OIDC flow. It basically +checks the presence of `openid` scope in the parameters. + +.. toctree:: + :maxdepth: 2 + + dispatchers + authcode + implicit + hybrid |