LNURL Auth For WordPress

plugin banner

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

Author:joelmelon (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.3
Plugin version:1.0.13
Added to WordPress repository:17-12-2022
Last updated:20-08-2023
Rating, %:100
Rated by:2
Plugin URI:https://wordpress.org/plugins/lnurl-auth/
Total downloads:1 511
Active installs:30+
plugin download
Click to start download

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.

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
ChangeLog