Skip to content

YanBC/python-github-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Overview

This is a Python demo on how to work with GitHub OAuth. You may also use this application to increase your GitHub API quota. For more information on this topic, please see my blog post.

What is OAuth

OAuth stands for Open Authorization, and is a simple protocol to grant third-party application access to user data without giving them the passcodes. Common use cases of OAuth include user authentication (e.g. login with Github) and authorizing third-party application to user data (ByteByteGo made a great video on this. There are normally three players involved in an OAuth process, the user, the data holder (GitHub), and the third-party application (this demo).

sequenceDiagram
    participant U as User
    participant D as "This demo"
    participant G as Github
    U->>G: 1. Request authorization
    activate G
    G-->>G: 2. Authorizes user
    deactivate G

About

A GitHub oauth demo with Python

Topics

Resources

Stars

Watchers

Forks