Title: LNURL Auth For WordPress
Author: joelmelon
Published: <strong>Disyembre 17, 2022</strong>
Last modified: Enero 14, 2025

---

Search plugins

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

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

# LNURL Auth For WordPress

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

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

 * [Details](https://ceb.wordpress.org/plugins/lnurl-auth/#description)
 * [Reviews](https://ceb.wordpress.org/plugins/lnurl-auth/#reviews)
 *  [Installation](https://ceb.wordpress.org/plugins/lnurl-auth/#installation)
 * [Development](https://ceb.wordpress.org/plugins/lnurl-auth/#developers)

 [Support](https://wordpress.org/support/plugin/lnurl-auth/)

## Description

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

## Screenshots

 * [[
 * LNURL Auth on a WordPress login page.
 * [[
 * LNURL Auth settings.

## Installation

 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

## Reviews

![](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/) Disyembre 29, 2023

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/) Abril 15, 2023

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

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/lnurl-auth/reviews/)

## Contributors & Developers

“LNURL Auth For WordPress” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “LNURL Auth For WordPress” into your language.](https://translate.wordpress.org/projects/wp-plugins/lnurl-auth)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lnurl-auth/), check
out the [SVN repository](https://plugins.svn.wordpress.org/lnurl-auth/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/lnurl-auth/) by 
[RSS](https://plugins.trac.wordpress.org/log/lnurl-auth/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

## Meta

 *  Version **1.0.14**
 *  Last updated **1 tuig ago**
 *  Active installations **30+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 8.0.15 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/lnurl-auth/)
 * Tags
 * [authentication](https://ceb.wordpress.org/plugins/tags/authentication/)[bitcoin](https://ceb.wordpress.org/plugins/tags/bitcoin/)
   [Lightning](https://ceb.wordpress.org/plugins/tags/lightning/)[login](https://ceb.wordpress.org/plugins/tags/login/)
 *  [Advanced View](https://ceb.wordpress.org/plugins/lnurl-auth/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/lnurl-auth/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lnurl-auth/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lnurl-auth/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lnurl-auth/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://lnurl-auth-for-wordpress.joelstuedle.ch/)