stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

LNURL isn't working on the bounties website #649

Closed ecurrencyhodler closed 1 year ago

ecurrencyhodler commented 1 year ago

I am unable to log-in to the bounties website (https://community.sphinx.chat/tickets) using LNURL and wallet of satoshi.

https://github.com/stakwork/sphinx-tribes/assets/32662508/5770323b-9fbd-4f34-9283-cbc9c2eac32e

kevkevinpal commented 1 year ago

Some times I am able to get a proper URL and sign in with zues but see this

But for this issue @elraphty lets try to add some error handling to show an error message if we get an empty value/string for the qr code, not sure if its just showing a partial URL in the qr code

Screenshot 2023-09-11 at 9 43 58 AM

Screenshot 2023-09-11 at 9 43 43 AM

ecurrencyhodler commented 1 year ago

651 is the first pass at fixing this issue.

ecurrencyhodler commented 1 year ago

Testing on https://people-test.sphinx.chat/tickets, I'm able to log in. However I get a weird error message from wallet of satoshi saying that there was a problem with lnurl.

Also when I sign out and I try to log back in, it shows an empty lnurl again. It only works again when I refresh the page.

https://github.com/stakwork/sphinx-tribes/assets/32662508/bafc8b58-7ca6-4e58-9297-6c7114982d80

kevkevinpal commented 1 year ago

This is ther error I see on zues in a zip cause the screen shot was too large for github

sphinx.mon.11.sep.03.26.40.jpg.zip

ecurrencyhodler commented 1 year ago

The current version in staging allows someone to log in via LNURL. There is a tiny error message that pops up though because we aren't running our own lnurl server. We can tackle this in a separate issue.

Here's the post from raphael explaining the issue.

Screenshot 2023-09-11 at 9 03 03 PM
ecurrencyhodler commented 1 year ago

This has been closed by: #661 #660 #656 #663