Skip to content

GitHub Note

  • IMPORTANT: Note for Git is not here.

GitHub Pages#

GH OAuth#

Thought it would be simple but it's a deep rabbit hole! The three steps in Official Guide are

  • GH OAuth
    • Request users' GitHub identity by redirect
    • Redirect users back by GitHub
  • Get user's access token
  • GH Wiki
    • Feedback and feature request

Request users' GitHub identity by redirect#

  • @2021-09-25
  • First step of Official Guide:
  • CORS problem on First step. Solved by YT: The GET method is just redirect. CORS is not needed.

Redirect users back by GitHub#

Get user's access token#

  • @2021-09-28
  • When talking to GF, I remembered a video of firebase doesn't have this problem. I'll try AWS one more day, then switch to firebase.
  • When setting up the AWS API, after setting up a Custom domain names - API mappings(with Route53 api.snippethub.dev), the API Gateway domain name in Endpoint configuration(pattern "https://d-56789qwert.execute-api.eu-west-2.amazonaws.com/${MAPPING_PATH}/${API_METHOD}/") cannot fetch same data as the API URL(pattern "https://54321asdfg.execute-api.eu-west-2.amazonaws.com/staging/items"). The former one has d- at start.

GH Wiki#

Feedback and feature request#

GitHub release#

Multi-License repo#

  • @2021-12-31
  • currently github doesn't support multi-license repo.
  • more details

GitHub raw file#

Remove sensitive data from GitHub#