Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Answers
/
GitHub Passkey Setup
Updated Nov 13, 2023

    GitHub Passkey Setup

    Nov 13, 2023

    Overview


    GitHub Passkeys provide a secure method for signing into GitHub.com without the need for a password. For those utilizing two-factor authentication (2FA), a passkey fulfills both the password and 2FA criteria, streamlining the sign-in process to just one step. 

    On This Page


    • 1 Setup Passkey for YubiKey
      • 1.1 How to Add a Passkey to Your GitHub Account:
    • 2 Setup 2FA for GitHub Using Microsoft Authenticator App
      • 2.1 Steps to Enable 2FA on GitHub:
    • 3 Signing In Using a Passkey
    • 4 Troubleshooting




    Setup Passkey for YubiKey


    GitHub Passkeys offer a seamless and secure sign-in experience on GitHub.com, eliminating the need for password input. When combined with two-factor authentication (2FA), a passkey acts as both the password and 2FA, granting access in a single step.

    How to Add a Passkey to Your GitHub Account:

    1. Access Settings:

      • Click your profile photo on the upper-right corner of any GitHub page and select Settings.


    2. Navigate to Authentication:

      • In the sidebar's Access section, choose Password and authentication.


    3. Initiate Passkey Setup:

      • Under "Passkeys", select Add a passkey. Authenticate if prompted using your password or another existing method.


    4. Configure Authentication:

      • Under “Configure passwordless authentication”, click Add passkey and follow your passkey provider's instructions.


    5. Confirmation:

      • After successfully registering your passkey, you'll see a confirmation page. Click Done.



    Setup 2FA for GitHub Using Microsoft Authenticator App


    Two-factor authentication (2FA) on GitHub is a secure method that requires both a password and an authentication code generated by an app on your mobile device to sign in. To bolster security, we recommend setting up 2FA using a time-based one-time password (TOTP) application, like Microsoft Authenticator App, instead of SMS. Microsoft Authenticator generates authentication codes that change over time and provide a more reliable experience.

    Steps to Enable 2FA on GitHub:

    1. Download a TOTP app:

      • If you haven’t already, install the Microsoft Authenticator App on your mobile device.


    2. Navigate to Settings:

      • On GitHub, click your profile photo at the upper-right corner, and then select Settings.


    3. Access Two-Factor Settings:

      • In the sidebar's Access section, choose Password and authentication. Click Enable two-factor authentication in the "Two-factor authentication" section.


    4. Setup Authenticator App:

      • Under "Setup authenticator app":

        • Scan the displayed QR code using your Authenticator App. The app will then display a six-digit code.

        • If scanning isn't possible, click enter this text code to get a code that you can manually input into your Authenticator App.


    5. Verify the Code:

      • Your Authenticator App will now save your GitHub.com account and produce a new authentication code every few seconds. Enter this code on GitHub in the "Verify the code from the app" field.


    6. Backup with Recovery Codes:

      • Click Download under "Save your recovery codes" to save these codes to your device. It's crucial to keep these codes safe, as they can help regain access to your account if you lose your primary authentication method.


    7. Finalize Setup:

      • After storing your recovery codes safely, click I have saved my recovery codes to officially activate 2FA for your account.


    For 28 days after 2FA setup, you're in a check-up period. Ensure to successfully perform 2FA within these 28 days, or you'll be prompted to do so on the 28th day. If you fail, use the provided shortcut to adjust your 2FA settings and maintain GitHub.com access.




    Signing In Using a Passkey


    1. Visit the Login Page:

      • Go to GitHub's login page.


    2. Choose Passkey Sign-In:

      • Click

        Sign in with a passkey.
        Sign in with a passkey.




    3. Authenticate:

      • Follow the prompts from to enter your YubiKey PIN and press the medallion to use biometric access.


    Troubleshooting


    If you do not see the "Sign in with a passkey" option after successfully setting up your YubiKey, try using this sign-in link: https://github.com/login?passkey=true

    , multiple selections available,
    com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'ivy-ai' is unknown.
    Answers Knowledge Base
    Teams
    , (opens new window)

    Information Technology Support
    • How-to articles
      How-to articles
       This trigger is hidden
    Results will update as you type.
    • Accessible Technology Toolkit
    • Accounts and NetIDs
    • Campus Departments
    • Campus Living
    • Email (SUMail)
    • General Computing
    • Networks at Syracuse University
    • Printing
    • Remote Access
    • Schools & Colleges
    • Services and Applications
      • MySlice
      • University Events with Technology Supported by ITS
      • Orange Tracker
      • 2U Support Services
      • Adobe at Syracuse University
      • Answers
      • Campus Map (Concept3D)
      • Cisco IP Phone Support
      • Expressions
      • GET - Managing Your Campus Money, Food & More
      • Syracuse University Google Workspace for Education Service
      • How-to articles
      • ITS Computer Labs
      • ITS Faculty and Staff Services
      • ITS Student Services
      • Kaltura at Syracuse University
      • IT Learning Opportunities
      • LinkedIn Learning at Syracuse University
      • Microsoft 365 at Syracuse University
      • SU Today
      • Web Conferencing Solutions
      • Zoom at Syracuse University
      • Orange Safe App
      • GitHub at Syracuse University
        • Creating a GitHub account
        • GitHub File Management
        • GitHub Notifications
        • GitHub Passkey Setup
        • GitHub Repository
        • GitHub Team
        • GitHub Use Case Guides
        • Import Data into GitHub
      • Listserv at Syracuse University
      • OrangeNow
      • OrangeAccess
    • Teaching and Learning
    • Directory - office location for main campus faculty and staff
      Calendars
    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 10, "requestCorrelationId": "5460149cf36143f797e1afac504fcf10"}