Closed Horndev closed 2 years ago
I note something like this already exists and is mentioned here: https://lnmarkets.com/lightning
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
I've set up a repo for the library here: https://github.com/Horndev/lnurl.net
Here is an example of how LNURL-auth works.
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