diff options
author | Jonathan Huot <jonathan.huot@gmail.com> | 2019-10-28 16:10:22 +0100 |
---|---|---|
committer | Jonathan Huot <jonathan.huot@gmail.com> | 2019-10-28 16:10:22 +0100 |
commit | ab0de9e28db812eb204f12335b07d91361b16676 (patch) | |
tree | 7ca9857290247e6dc84d7557f2a600c24ef6b8f2 /docs/oauth2/oidc/grants.rst | |
parent | 0c632d8f2955e34818346e96587f9124da449fe1 (diff) | |
download | oauthlib-ab0de9e28db812eb204f12335b07d91361b16676.tar.gz |
Improved OIDC documentationdoc-oidc
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 |