Kernlift
Login and auth providers

GitHub

Let buyers sign in with GitHub.

Before you begin

Copy the full URL ending in /api/auth/callback/github from Callback URLs on /admin/config/auth. It must use the origin where users sign in.

Expected result — the provider’s sign-in button on your site.

Set up GitHub

Register an OAuth App

Open GitHub. Create a new OAuth App and enter the site homepage.

Set the callback URL

Paste the GitHub URL from Callback URLs into Authorization callback URL.

Generate the client secret

Generate a client secret and copy the Client ID from the same app.

Provider documentation · GitHub's OAuth app guide

Configure the application

Open /admin/config/auth in the Kernlift admin console.

Value from providerAdmin field
Client IDClient ID
Client secretClient Secret

Enable this provider. To accept first-time users, enable Allow new users, then save.

Kernlift settings for GitHub

Verify

  1. In a private window open /auth/sign-in and choose GitHub.
  2. Complete consent and verify the browser returns to the signed-in workspace.

Troubleshooting

The provider rejects the redirect

The callback URL registered with Google or GitHub does not match the one in the Callback URLs panel. Copy it again, including the scheme and domain.

Next steps

Add Google and GitHub sign-in