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_NAMEin Application Name - Add
YOUR_DOMAIN/HOME_URLin Homepage URL - Add
YOUR_DOMAIN/wp-login.phpin Authorized redirect URIs
- Add
-
This will give you Client ID and Secret key.
-
Input 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.

评论0