Skip to content

GitHub

Members sign in with their GitHub account, in the system browser.

ConsoleGitHub Developer settings
Endpoint groupSocial Login
EmailReturned, and verified — GitHub can match an existing account
Signs inIn the browser
  1. Open Settings → Developer settings → OAuth Apps → New OAuth App.

    Register it under your personal account or an organization. An organization makes it survive one person leaving.

  2. Set the Application name to what members should see when authorising.

  3. Set the Homepage URL to your site.

  4. Set the Authorization callback URL to the address from Memberside → API Keys → Social Login → GitHub, which looks like https://yoursite.com/wp-json/memberside/v1/social/callback/github.

  5. Copy the Client ID, then Generate a new client secret and copy that. GitHub shows the secret once.

GitHub lets members hide their address. When they have, GitHub returns their noreply address — something like [email protected] — rather than nothing at all.

That address is real and deliverable to them through GitHub, but it will not match an account registered under their ordinary address. For a developer community this is usually acceptable; if it is not, tell members to make an address public before signing in.

Under Memberside → API Keys → Social Login → GitHub:

FieldValue
Client IDThe Client ID
Client secretThe generated client secret
SymptomCauseFix
“The redirect_uri MUST match”The callback URL differs by a characterCopy it again from the API Keys screen
A noreply address arrivesThe member keeps their address privateExpected. They can make one public
The secret does not workIt was only partly copiedGenerate a new one
Members of an organization are refusedThe org restricts OAuth app accessAn owner approves the app under the org’s settings