Horndev / zapread.com

Website for zapread.com
https://www.zapread.com
GNU Affero General Public License v3.0
18 stars 4 forks source link

Authentication with Lightning Node / Wallet #572

Closed Horndev closed 2 years ago

Horndev commented 4 years ago

The solution (s)

Additional context If this could be implemented as a standard c# library using the Authentication framework (OWIN, or other), that would be very useful for multiple users!

Resources LNURL info: https://github.com/fiatjaf/awesome-lnurl LNURL-AUTH: https://github.com/btcontract/lnurl-rfc/blob/master/lnurl-auth.md Identity: https://github.com/dotnet/AspNetCore/tree/master/src/Identity How OAuth is done: https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers

Horndev commented 4 years ago

I note something like this already exists and is mentioned here: https://lnmarkets.com/lightning

Horndev commented 4 years ago

A c# implmentation of LNURL-AUTH ?

https://www.reddit.com/r/lightningnetwork/comments/g69j6b/lnurlauth_explained_with_diagrams/

Another good resource: https://github.com/fiatjaf/awesome-lnurl

Horndev commented 4 years ago

I've set up a repo for the library here: https://github.com/Horndev/lnurl.net

Horndev commented 4 years ago

Here is an example of how LNURL-auth works.

https://www.youtube.com/watch?v=z1AVd6TnLns