BACK TO DIRECTORY

Login with GitHub

by Parth vataliya

0.0
(0 ratings)

Ultra minimal plugin to let your users login to WordPress applications using their GitHub accounts. No more remembering hefty passwords!

Initial Setup

  1. Create a project from GitHub Developer Settings if none exists.

  2. Go to OAuth tab, then create credential for OAuth client.

    • Add YOUR_WEBSITE_NAME in Application Name
    • Add YOUR_DOMAIN/HOME_URL in Homepage URL
    • Add YOUR_DOMAIN/wp-login.php in Authorized redirect URIs
  3. This will give you Client ID and Secret key.

  4. 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.

Screenshots

Login screen with Google option added.

Login screen with Google option added.

Plugin settings screen.

Plugin settings screen.

Plugin Details

Active Installs
0
Total Downloads
1,939
Version
1.0.3
Requires WP
5.5
Requires PHP
7.4
Tested Up To
6.7.7
Added
2025-01-31
Last Updated
2025-02-05 10:29am GMT

Ratings

5
0
4
0
3
0
2
0
1
0