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
- Open GitHub Developer Settings → OAuth Apps.
- Click New OAuth App (or Register a new application).
- Fill in:
- Application name — e.g. WP ULike Social Login
- Homepage URL —
https://yourdomain.com - Authorization callback URL — from WP ULike settings (Step 2 below)
- Click Register application.
- Copy the Client ID.
- 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
- Go to WP ULike → Settings → Social Logins.
- Enable Social Logins.
- Add a network and choose GitHub.
- Copy the Callback URL from settings:
https://yourdomain.com/?ulp-api=auth&provider=GitHub
- Paste it into GitHub’s Authorization callback URL field.
- Enter Client ID and Client Secret in WP ULike.
- Optional: Auto Display on forms, or
[wp_ulike_pro_social_login]on a profile tab so existing users can link GitHub. - Save settings.
Step 3: Test
- Open your login page (or profile page with the shortcode).
- Click GitHub.
- Authorize the app on GitHub.
- Confirm redirect back to your site with a successful login.
Verify the WordPress user profile reflects GitHub account details.
Troubleshooting
| Error | Fix |
|---|---|
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
Related articles
Continue with these guides
Did this article help?
Pick how you feel, add a note if you want, then hit Send. It takes two seconds and helps us improve this guide.