Login with GitHub
Ultra minimal plugin to let your users login to WordPress applications using their GitHub accounts. No more remembering hefty passwords! Initial Setup Create a project from GitHub Developer Settings if none exists. Go to OAuth tab, then create credential for OAuth client. Add YOUR_WEBSITE_NAME in Ap
Ultra minimal plugin to let your users login to WordPress applications using their GitHub accounts. No more remembering hefty passwords!
Initial Setup
- 01Create a project from GitHub Developer Settings if none exists.
- 02Go to OAuth tab, then create credential for OAuth client. Add YOUR_WEBSITE_NAME in Application Name
- 03Add YOUR_DOMAIN/HOME_URL in Homepage URL
- 04Add YOUR_DOMAIN/wp-login.php in Authorized redirect URIs
- 05This will give you Client ID and Secret key .
- 06Input these values either in WP Admin > Settings > Login With GitHub
How to enable automatic user registration
You can enable user registration by – Enabling Settings > Login With GitHub > Enable GitHub Login Registration
Note: If the checkbox is ON then, it will register valid GitHub users even when WordPress default setting, under
Settings > General Settings > Membership > Anyone can register checkbox
is OFF.
Screenshots & previews.
- 01Copy the login-with-github folder into your wp-content/plugins folder.
- 02Activate the Login With GitHub plugin via the plugins admin page.
- 03Install and activate the plugin.
- 04Go to Settings → Login With GitHub to login or register to user
- 05Add shortcode lwg_auth_button to login or registration file.