Implementing OAuth clients in Python with the requests-oauthlib module
OAuth 2.0 is an open standard for API authorization, which allows us to share information between sites without having to share an identity. It is a mechanism used today by large companies such as Google, Microsoft, Twitter, GitHub, and LinkedIn, among many others.
This protocol consists of delegating user authentication to the service that manages the accounts, so it is the service that grants access to third-party applications. The OAuth 2.0 standard facilitates relevant aspects such as authenticating API consumers, requesting their authorization to perform specific actions, and providing tools that identify the parties involved in the task flow.
On the official OAuth 2.0 website, https://oauth.net, you can find all the technical details of this framework, and how to implement it in your web pages to make it easier for your users to log in.
OAuth roles
OAuth basically works by delegating the user...