Title: Login with GitHub
Author: Parth vataliya
Published: <strong>2025 年 1 月 31 日</strong>
Last modified: 2025 年 2 月 5 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/login-with-github.svg)

# Login with GitHub

 由 [Parth vataliya](https://profiles.wordpress.org/parthvataliya/) 開發

[下載](https://downloads.wordpress.org/plugin/login-with-github.1.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/login-with-github/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/login-with-github/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/login-with-github/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/login-with-github/#developers)

 [技術支援](https://wordpress.org/support/plugin/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](https://github.com/settings/developers)
    if none exists.
 2. Go to **OAuth** tab, then create credential for OAuth client.
 3.  * 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**
 4. This will give you **Client ID** and **Secret key**.
 5. 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.

## 螢幕擷圖

 * [[
 * Login screen with Google option added.
 * [[
 * Plugin settings screen.

## 安裝方式

 1. Copy the `login-with-github` folder into your `wp-content/plugins` folder.
 2. Activate the Login With GitHub plugin via the plugins admin page.
 3. Install and activate the plugin.
 4. Go to Settings  Login With GitHub to login or register to user
 5. Add shortcode **lwg_auth_button** to login or registration file.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Login with GitHub〉的開發相關工作。

參與者

 *   [ Parth vataliya ](https://profiles.wordpress.org/parthvataliya/)

[將〈Login with GitHub〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/login-with-github)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/login-with-github/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/login-with-github/)，或透過 
[RSS](https://plugins.trac.wordpress.org/log/login-with-github/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/login-with-github/)。

## 變更記錄

#### 1.0.3

 * Add shortcode to wp-login from.

#### 1.0.2

 * Improve performance.

#### 1.0.1

 * Sanitize setting fields.

#### 1.0.0

 * Initial Release.

## 中繼資料

 *  版本 **1.0.3**
 *  最後更新 **1 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/login-with-github/)
 * 標籤:
 * [authentication](https://tw.wordpress.org/plugins/tags/authentication/)[github login](https://tw.wordpress.org/plugins/tags/github-login/)
   [oauth](https://tw.wordpress.org/plugins/tags/oauth/)[sign in](https://tw.wordpress.org/plugins/tags/sign-in/)
   [sso](https://tw.wordpress.org/plugins/tags/sso/)
 *  [進階檢視](https://tw.wordpress.org/plugins/login-with-github/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/login-with-github/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/login-with-github/reviews/)

## 參與者

 *   [ Parth vataliya ](https://profiles.wordpress.org/parthvataliya/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/login-with-github/)