X Tutup
Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (20 loc) · 2.27 KB

File metadata and controls

37 lines (20 loc) · 2.27 KB

Authenticating to GitHub

How to sign in to GitHub

  1. Open the GitHub window by going to the top level Window menu and selecting GitHub, as shown below.

    GitHub menu item in the Window menu
  2. Click the Sign in button at the top right of the window.

    GitHub menu item in the Window menu
  3. In the Authenticate dialog, enter your username or email and password

    GitHub menu item in the Window menu

    If your account requires Two Factor Authentication, you will be prompted for your auth code.

    GitHub menu item in the Window menu

You will need to create a GitHub account before you can sign in, if you don't have one already.

Personal access tokens

If the sign in operation above fails, you can manually create a personal access token and use it as your password.

The scopes for the personal access token are: user, repo.

  • user scope: Grants access to the user profile data. We currently use this to display your avatar and check whether your plans lets you publish private repositories.
  • repo scope: Grants read/write access to code, commit statuses, invitations, collaborators, adding team memberships, and deployment statuses for public and private repositories and organizations. This is needed for all git network operations (push, pull, fetch), and for getting information about the repository you're currently working on.

Note: Some older versions of the plugin ask for gist and write:public_key.

For more information on creating personal access tokens, see "Creating a personal access token for the command line.

For more information on authenticating with SAML single sign-on, see "About authentication with SAML single sign-on."

X Tutup