Skip to content
Myr

Explicitly mention OpenID Connect

Before adoption: this commit came in with the history the project adopted, so no landing records it.

OAuth 2 is the authentication protocol underpinning OpenID Connect. Mention that explicitly for the benefit of folks looking for information on using requests with OpenID Connect that don't yet know that OAuth 2 is the relevant underlying authentication protocol.

authored by Nick Coghlan · committed by GitHub · parent 4942b40 · Browse files · 1 file+7 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−5 removed

  • other:+7 added−5 removed

1 file+7 added−5 removed

modified:docs/user/authentication.rst+7 added-5 removed
58 unmodified lines
59OAuth 1 Authentication60----------------------6162A common form of authentication for several web APIs is OAuth. The ``requests-oauthlib``63library allows Requests users to easily make OAuth authenticated requests::63library allows Requests users to easily make OAuth 1 authenticated requests::6465 >>> import requests66 >>> from requests_oauthlib import OAuth167
7 unmodified lines
75For more information on how to OAuth flow works, please see the official `OAuth`_ website.76For examples and documentation on requests-oauthlib, please see the `requests_oauthlib`_77repository on GitHub7879OAuth 2 Authentication80----------------------79OAuth 2 and OpenID Connect Authentication80-----------------------------------------8182The ``requests-oauthlib`` library handles OAuth 2 in addition to OAuth 1. See their83documentation for details of the various OAuth 2 credential management flows:82The ``requests-oauthlib`` library also handles OAuth 2, the authentication mechanism83underpinning OpenID Connect. See the `requests-oauthlib OAuth2 documentation`_ for84details of the various OAuth 2 credential management flows:8586* `Web Application Flow`_87* `Mobile Application Flow`_88* `Legacy Application Flow`_
44 unmodified lines
133``auth.py`` file.134135.. _OAuth: http://oauth.net/136.. _requests_oauthlib: https://github.com/requests/requests-oauthlib137.. _requests-oauthlib OAuth2 documentation: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html138.. _Web Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#web-application-flow139.. _Mobile Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#mobile-application-flow140.. _Legacy Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#legacy-application-flow141.. _Backend Application Flow: http://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#backend-application-flow
3 unmodified lines