Official Omarchy plugin · Super+Shift+L
⌘
← all posts
github personal access tokenwhere to find github tokengithub fine-grained token vs classic

Where Is the GitHub Personal Access Token Page? Fine-Grained vs Classic

Fine-grained tokens live at github.com/settings/personal-access-tokens. Classic tokens live at github.com/settings/tokens. To click there: profile picture, Settings, Developer settings (bottom of the left sidebar), then Personal access tokens. GitHub recommends fine-grained…

by team·Nov 18, 2026·4 min read

Fine-grained tokens live at github.com/settings/personal-access-tokens. Classic tokens live at github.com/settings/tokens. To click there: profile picture, Settings, Developer settings (bottom of the left sidebar), then Personal access tokens. GitHub recommends fine-grained tokens whenever they can do the job (GitHub Docs).

Where are GitHub tokens in Settings?

The path is the same for both types:

  1. Click your profile picture (top right), then Settings.
  2. In the left sidebar, scroll to the bottom and click Developer settings.
  3. Under Personal access tokens, choose Fine-grained tokens or Tokens (classic).
  4. Click Generate new token.

Developer settings sits at the very bottom of a long sidebar, which is why most people end up searching for it.

Can you see an existing token again?

No. GitHub shows a token's value only on the page where you create it. If you lost it, delete the old one on the same page and generate a new one, then update wherever it was used.

Fine-grained or classic: which should you create?

Start with fine-grained. Per GitHub's docs, a fine-grained token:

  • Works for one resource owner only, your account or one organization
  • Can be limited to specific repositories
  • Gets specific permissions instead of broad scopes
  • Can require approval from an organization owner

Use classic only when fine-grained cannot do the job yet. GitHub lists these gaps for fine-grained tokens:

  • Contributing to public repos where you are not a member
  • Repos where you are an outside collaborator
  • Accessing several organizations at once
  • GitHub Packages
  • The Checks API
  • Projects owned by a user account

Remember what a classic token can reach: every repository you can access, in every organization you belong to. Give it an expiry date.

What permissions does a token need for common jobs?

  • Push and pull over HTTPS: Contents, read and write, on just the repos you need.
  • Read-only scripts or dashboards: Contents, read-only.
  • Opening pull requests from a script: Pull requests, read and write (plus Contents write if the script also pushes the branch).

Each REST API endpoint's docs say whether it works with fine-grained tokens and which permission it needs (GitHub Docs).

Before you create one at all, check whether you need it. GitHub suggests using GitHub CLI or Git Credential Manager for command line work, and the built-in GITHUB_TOKEN inside GitHub Actions.

Why does Git keep asking for a password?

You cloned with an HTTPS URL. GitHub removed password sign-in for Git, so when Git asks for a password, paste your personal access token instead (GitHub Docs). Set up a credential helper and Git will remember it, or switch the remote to SSH.

Worked example: a token to push to one repo

  1. Go to github.com/settings/personal-access-tokens and click Generate new token.
  2. Name it after the machine and job, like "laptop: push my-app."
  3. Pick an expiration, for example 90 days.
  4. Resource owner: you (or the org that owns the repo).
  5. Repository access: Only select repositories, then pick my-app.
  6. Permissions: Contents, read and write.
  7. Generate, copy the token, and paste it when Git asks for a password.

If the org requires approval, the token can only read public resources until an admin approves it.

Quick reference: GitHub settings URLs

  • Fine-grained tokens: github.com/settings/personal-access-tokens
  • New fine-grained token: github.com/settings/personal-access-tokens/new
  • Classic tokens: github.com/settings/tokens
  • SSH keys: github.com/settings/keys
  • OAuth apps: github.com/settings/developers
  • GitHub Apps: github.com/settings/apps

Is there a faster way to get there?

That sidebar is exactly why we built devlinkspad. Hit ⌘K, type "github fine," and land on the fine-grained tokens page directly. The GitHub page on devlinkspad has deep links to tokens, SSH keys, OAuth apps, GitHub Apps, Actions runners and account webhooks, next to GitHub's status page. It is free, and it works on the web, as a Chrome extension, and as the official Omarchy plugin (Super+Shift+L).

Checklist: before you generate a GitHub token

  • Could GitHub CLI, SSH, or GITHUB_TOKEN do this instead?
  • Fine-grained first; classic only for a listed gap
  • One repo, one job, one token
  • Smallest permissions that work
  • Set an expiry date
  • Name it so future you knows what breaks if you delete it
  • Store it in a password manager or secret store, never in code

FAQ

Why do I get a 403 with my classic token on an org repo?

Organization owners can block classic tokens. GitHub's docs say requests then fail with a 403, and you need a fine-grained token, a GitHub App, or an OAuth app instead.

Do tokens expire on their own?

Only if you set an expiry, though GitHub automatically removes tokens that have not been used in a year.

Is there a limit on fine-grained tokens?

Yes, 50 per account. GitHub suggests a GitHub App if you need more or are building automation.

Should my app use a personal token?

GitHub says personal tokens are for acting as yourself. For an organization or a long-lived integration, use a GitHub App.

More "where is it" guides: Supabase service role key and Vercel tokens and env vars.

Press ⌘K. Every dashboard, one keystroke away.