GitHub social sign in

Link to this section

You can enable users to sign up and sign in using their GitHub credentials. To enable this, you’ll need some technical know-how and a GitHub app and credentials.

Before you begin

Link to this section

Get the URL for GitHub from Kinde. In Kinde, go to Settings > Authentication. On the GitHub auth tile in the Social authentication section, select Configure. Copy the Callback URL.

Create GitHub app

Link to this section
  1. Sign in to your GitHub account, select the Account dropdown menu at the top right corner, and choose Settings.
  2. From the menu on the left, select Developer settings. (
  3. Select GitHub Apps and then select New GitHub app.
  4. Give the app a name.
  5. Enter your app’s Homepage URL.
  6. Enter or paste the Kinde callback URL you copied earlier, into the Authorization callback URL field.
  7. Select the Request user authorization (OAuth) during installation option**.**
  8. In the Webhooks section, deselect the Webhook Active option (unless you want to add webhook URL details).
  9. (Recommended) In the Permissions section, open the Account permissions options and change the Email addresses access to Read only. This enables Kinde to more easily match up user accounts with access to all the users’ email addresses.
  1. Select Create GitHub App. The app is created.

Copy Client ID and Client secret

Link to this section
  1. On the App you just created, select Edit.
  2. Copy the Client ID.
  3. Select Generate a new client secret.
  4. Copy these values to a text file or other temporary and secure place for adding to Kinde.

Add GitHub credentials to Kinde

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. Select Add connection and then select GitHub.
  3. On the GitHub tile, select Configure.
  4. Paste the Client ID and Client secret into the relevant fields.
  5. Select Save. Users will now see GitHub as an option to sign up and sign in to your product.

Talk to us

If you can’t find what you’re looking for in our help center — email our team

Contact us