GitHub Social Login with Magic

GitHub Social Login with Magic

#Overview

You can allow your users to sign up & log in to your web app with their GitHub account.

#Usage

#Prerequisites

#GitHub Setup

After installing the OAuth extension, you can now enable GitHub Login for your Magic app:

  1. Follow GitHub's instructions to create an OAuth app
  2. Go to your Magic Dashboard
  3. Select the Magic app for which you’d like to enable Github Login, or create a new app
  4. Navigate to Social Login from the sidebar
  5. Click the toggle for GitHub
  6. Copy the Redirect URI field from your Magic Dashboard
  7. Return to your GitHub Dashboard and paste the Redirect URI you obtained from your Magic Dashboard into the "Authorization callback URL" field
  8. Click "Register App" to complete your GitHub OAuth app setup.
  9. On the next page, obtain the "Client ID" and "Client Secret"
  10. Return to your Magic Dashboard and input the Client ID and Client Secret for your GitHub OAuth app
  11. In Magic Dashboard, click “Save” – Done!

#Resources