Setup
Create a GitHub OAuth App
- Go to GitHub Developer Settings.
- Click OAuth Apps → New OAuth App.
- Fill in the Application name and Homepage URL.
- Set the Authorization callback URL to your site's callback URL:
https://your-site.com/?rest_route=/simple-jwt-login/v1/oauth/token&provider=github - Click Register application.
- Copy the Client ID, then click Generate a new client secret and copy the Client Secret.
warning
Keep your credentials secure - never commit them to version control or expose them publicly. Use separate OAuth apps for each environment (development, staging, production).
Configure in WordPress
- Go to Simple JWT Login → Integrations → OAuth → GitHub.
- Enter the Client ID and Client Secret from the GitHub OAuth App settings.
- Set the Redirect URI to match what you registered in GitHub.
- Toggle Enable to activate the GitHub provider.
| Field | Description |
|---|---|
| Client ID | The OAuth App Client ID |
| Client Secret | The OAuth App Client Secret |