Sign in to GitHub with a device code

For github.com. Repotray shows a code and you approve it on GitHub in the browser.

On this page

Steps

  1. 1
    In Repotray open Add an account and choose GitHub. Repotray starts the sign-in at once, with no address to enter.
  2. 2
    The screen "Sign in to GitHub" shows a code and says "Enter this code at github.com/login/device." It also shows when the code expires.
  3. 3
    Tap Copy code and open GitHub. This copies the code and opens GitHub.
  4. 4
    On GitHub, enter or paste the code, sign in if asked, and approve Repotray.
  5. 5
    Go back to Repotray. The screen says WAITING FOR GITHUB and continues on its own once you approve.

Scopes

ScopeWhat it is used for
repoRepositories
read:userThe signed-in user
notificationsNotifications

These are the scopes every GitHub sign-in asks for. When a feature needs another scope, Repotray asks for it again at that point through a new device code, and shows the feature as read-only until then.

If the code expires

A code is valid for a limited time. If it runs out, Repotray says "This device code expired. Get a new code." Tap Get a new code and repeat from step 3.

Notes

This build signs in to github.com only, and the app has no field for pasting a GitHub personal access token.