Skip to content

Instantly share code, notes, and snippets.

View CaoZhongZ's full-sized avatar

Zhong, Tsao CaoZhongZ

View GitHub Profile
@CaoZhongZ
CaoZhongZ / Penn Treebank II Tags.md
Created February 27, 2021 16:13 — forked from nlothian/Penn Treebank II Tags.md
Penn Treebank II Tags

As outlined here, there are a couple of situations where you may want/need to authenticate with GitHub by using an Access Token:-

  1. If you have Two-Factor Authentication (2FA) enabled.
  2. You are accessing an organisations protected content using SAML Single-Sign On (SSO).

Using an Access Token for the first time

Create an Access Token

In your GitHub account, go to Settings / Developer settings / Personal access tokens and select Generate New Token. Make a note of the token somewhere safe since this is the only chance you get to see it.