Tierion / boltwall

Bitcoin Lightning paywall and authentication using LSATs. Built with LND, Nodejs, and Typescript.
https://tierion.github.io/boltwall/
113 stars 16 forks source link

Feature Request: Authentication without payment #27

Open face opened 3 years ago

face commented 3 years ago

Hi,

I found LSATs and boltwall learning about the exciting new area of lighting authentication. I think a killer use case for LSATs is...Authentication.

As stated, boltwall, is for "payments and authentication". My request is for payments and/or authentication.

Authentication Use Case

  1. User can create an account (for free)
  2. User can log into an account
  3. User can log out of an account
  4. User can delete an account
  5. Optionally, stuff purchased before a user creates an account is automatically tied to the account (opensea with metamask works this way, which I found to be a nice end user experience).

A nice interface would be a passport-lsat so existing websites using passportjs could integrate lsat authentication with ease.

I found lnurl and lnurl-auth, which may be the way to go for lighting authentication in a website. There is even a passport integration: https://github.com/chill117/passport-lnurl-auth

The only other thing I saw was lapps.co, but I couldn't find the source to their solution: https://decrypt.co/10402/sign-in-lightning-network-authentication-lapps-co

Thanks for the exciting work on LSATs. The http 402 and paywall use case is interesting and will have many use cases,. IMHO, a simple authentication without payment for account management would greatly broaden the use cases for botlwall and increase adoption.