How to use personal access tokens, OAuth apps, and the GitHub API

Study Apptoken, authenticating scripts and integrations against GitHub safely with PATs, OAuth apps, GitHub Apps, REST and GraphQL basics.

  • Difficulty Intermediate
  • Parts 10
  • Stack PATs, OAuth apps, GitHub Apps, REST and GraphQL basics

What you are learning

Apptoken is authenticating scripts and integrations against GitHub safely. The teaching focus is Apps and API (PATs, OAuth apps, GitHub Apps, REST and GraphQL basics).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Apptoken GitHub repo โ†’

Parts in order

Each chapter below is one checkpoint in this track.