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

  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.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录