Title: LNURL Auth For WordPress
Author: joelmelon
Published: <strong>2022 年 12 月 17 日</strong>
Last modified: 2025 年 1 月 14 日

---

搜尋外掛

![](https://ps.w.org/lnurl-auth/assets/banner-772x250.png?rev=2835403)

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

![](https://ps.w.org/lnurl-auth/assets/icon-256x256.png?rev=2835403)

# LNURL Auth For WordPress

 由 [joelmelon](https://profiles.wordpress.org/joelmelon/) 開發

[下載](https://downloads.wordpress.org/plugin/lnurl-auth.1.0.14.zip)

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

 [技術支援](https://wordpress.org/support/plugin/lnurl-auth/)

## 外掛說明

This plugin provides LNURL Auth for WordPress. Login to WordPress with Bitcoin Lightning
⚡️

### Features

With **LNURL Auth for WordPress** LNURL Auth is now available for WordPress. Add
LNURL Auth to the WordPress login form or use the shortcode `[lnurl_auth]` to use
LNURL anywhere on your site.

 * Custom Colors
 * Custom Callback URL
 * Custom Redirect URL
 * Node Bann- & Allowlist
 * Enable/Disable User Registrations
 * Naming Options for New Users
 * Set Role(s) for New Users
 * Toggle Login Options

_If the setting to create users is enabled in the plugin settings, the plugin will
automatically generate new users. Be wise, with great power comes great responsibility._

### Demo

A demo WordPress installation with LNURL Auth is available [here](https://lnurl-auth-for-wordpress.joelstuedle.ch/).

### LNURL Auth

Overall, LNURL Auth login is a convenient and secure way for users of the Lightning
Network to log into third-party services using their Lightning accounts. It allows
users to easily and securely log into services without needing to create separate
accounts or handle sensitive information. This process typically involves the user
scanning a LNURL with their Lightning wallet app.

The LNURL auth QR code or URL contains a unique and time-sensitive text string. 
This text string is sent to the visitor’s wallet. The visitor’s wallet signs this
text string with the private key and sends back the response with the signed text
string. This signature can then be validated to confirm the visitor’s identity.

Read the specs here: https://github.com/lnurl/luds/blob/luds/04.md

### Vendors

 * eza/lnurl-php: https://github.com/eza/lnurl-php
 * endroid/qr-code https://github.com/endroid/qr-code

### License

Use this code freely, widely and for free. Provision of this code provides and implies
no guarantee.
 Please respect the GPL v3 licence, which is available via http://
www.gnu.org/licenses/gpl-3.0.html

## 螢幕擷圖

[⌊LNURL Auth on a WordPress login page.⌉⌊LNURL Auth on a WordPress login page.⌉[

LNURL Auth on a WordPress login page.

[⌊LNURL Auth settings.⌉⌊LNURL Auth settings.⌉[

LNURL Auth settings.

## 安裝方式

 1. Upload the `lnurl-auth` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Check out the plugins settings page

## 使用者評論

![](https://secure.gravatar.com/avatar/ecb98328a44d39ed68c50b6eec0bc4601e02695ad63bb5d0f1552402e277d235?
s=60&d=retro&r=g)

### 󠀁[Must have Plugin for Bitcoin Shops](https://wordpress.org/support/topic/must-have-plugin-for-bitcoin-shops/)󠁿

 [omg21](https://profiles.wordpress.org/omg21/) 2023 年 12 月 29 日

LNURL-auth is extremely powerful tool. No usernames, no passwords, and no emails.
Just login with lightning wallet. It makes every site owner safer by not storing
login information. Great work!

![](https://secure.gravatar.com/avatar/77d32bacc51fac4968c11e83b3013b72c7de277ce6da1f11968c50af97747255?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin!!!](https://wordpress.org/support/topic/awesome-plugin-6854/)󠁿

 [1of21mil](https://profiles.wordpress.org/1of21mil/) 2023 年 4 月 15 日

Awesome Plugin. Works really well. Easy integration via shortcode. Good job, well
done!

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/lnurl-auth/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈LNURL Auth For WordPress〉的開發相關工作。

參與者

 *   [ joelmelon ](https://profiles.wordpress.org/joelmelon/)

[將〈LNURL Auth For WordPress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/lnurl-auth)

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

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

## 變更記錄

#### 1.0.14

 * Compatibility ckeck. Adapt internationalization improvements in 6.7 – load textdomain
   on `init` and fix `get_plugin_data`.

#### 1.0.13

 * Set error reporting to `false` inside auth callback function, so we do not have
   any php warnings/errors in our json response.

#### 1.0.12

 * Add `allowdynamicproperties`, remove `error_logs` and change all callback responses
   to `wp_json_encode`.

#### 1.0.11

 * Respect redirect_to query parameter on wp-login.php.

#### 1.0.1

 * Provide user object to wp_login action.

#### 1.0.0

 * Initial version.

## 中繼資料

 *  版本 **1.0.14**
 *  最後更新 **2 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.7**
 *  PHP 版本需求 ** 8.0.15 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/lnurl-auth/)
 * 標籤:
 * [authentication](https://tw.wordpress.org/plugins/tags/authentication/)[bitcoin](https://tw.wordpress.org/plugins/tags/bitcoin/)
   [Lightning](https://tw.wordpress.org/plugins/tags/lightning/)[LNURL](https://tw.wordpress.org/plugins/tags/lnurl/)
   [login](https://tw.wordpress.org/plugins/tags/login/)
 *  [進階檢視](https://tw.wordpress.org/plugins/lnurl-auth/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/lnurl-auth/reviews/#new-post)

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

## 參與者

 *   [ joelmelon ](https://profiles.wordpress.org/joelmelon/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://lnurl-auth-for-wordpress.joelstuedle.ch/)