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.
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.
- Sign in to your GitHub account, select the Account dropdown menu at the top right corner, and choose Settings.
- From the menu on the left, select Developer settings. (https://github.com/settings/apps)
- Select GitHub Apps and then select New GitHub app.
- Give the app a name.
- Enter your app’s Homepage URL.
- Enter or paste the Kinde callback URL you copied earlier, into the Authorization callback URL field.
- Select the Request user authorization (OAuth) during installation option**.**
- In the Webhooks section, deselect the Webhook Active option (unless you want to add webhook URL details).
- (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.
- Select Create GitHub App. The app is created.
- On the App you just created, select Edit.
- Copy the Client ID.
- Select Generate a new client secret.
- Copy these values to a text file or other temporary and secure place for adding to Kinde.
- In Kinde, go to Settings > Authentication.
- Select Add connection and then select GitHub.
- On the GitHub tile, select Configure.
- Paste the Client ID and Client secret into the relevant fields.
- Select Save. Users will now see GitHub as an option to sign up and sign in to your product.