The Github Python Library GitHub-Flask is an extension to Flask, which allows developers to authenticate their users via GitHub using OAuth protocol. This library depends on the requests library, which is an Apache2 Licensed HTTP library, written in Python.
OAuth Newbies can find it tricky initially. In this tutorial you’ll learn how to get started with OAuth 2.0 while avoiding all the fiddly parts around handling tokens. The folks over at Insomnia will show you how to authenticate an API client for the GitHub API with OAuth 2.0 and the Insomnia app.
If your app uses OAuth as a means of authentication, you are likely storing users' OAuth tokens in a database. To maintain the secrecy of these tokens, you can use encryption both in transit and at rest. This article shows how SecureDB can encrypt OAuth tokens in a matter of minutes.