WP ULike
Get Pro
Pro

Social Login — GitHub Setup

Register a GitHub OAuth app and connect it to WP ULike Pro social login.

Let developers and technical users sign in with GitHub. Requires WP ULike Pro.


Step 1: Create a GitHub OAuth app

  1. Open GitHub Developer Settings → OAuth Apps.
  2. Click New OAuth App (or Register a new application).
  3. Fill in:
    • Application name — e.g. WP ULike Social Login
    • Homepage URLhttps://yourdomain.com
    • Authorization callback URL — from WP ULike settings (Step 2 below)
  4. Click Register application.
  5. Copy the Client ID.
  6. Click Generate a new client secret if no secret is shown — copy the Client Secret immediately (GitHub shows it once).

Step 2: Configure WP ULike

  1. Go to WP ULike → Settings → Social Logins.
  2. Enable Social Logins.
  3. Add a network and choose GitHub.
  4. Copy the Callback URL from settings:
https://yourdomain.com/?ulp-api=auth&provider=GitHub
  1. Paste it into GitHub’s Authorization callback URL field.
  2. Enter Client ID and Client Secret in WP ULike.
  3. Optional: Auto Display on forms, or [wp_ulike_pro_social_login] on a profile tab so existing users can link GitHub.
  4. Save settings.

Step 3: Test

  1. Open your login page (or profile page with the shortcode).
  2. Click GitHub.
  3. Authorize the app on GitHub.
  4. Confirm redirect back to your site with a successful login.

Verify the WordPress user profile reflects GitHub account details.


Troubleshooting

ErrorFix
Redirect URI mismatch
Callback URL must match WP ULike settings character-for-character
Invalid client
Regenerate Client Secret and update WP ULike
No email from GitHub
GitHub account must have a public or primary verified email

Related: Social Login & Share · Google setup

Continue with these guides