lnbits / nostrrelay

One click nostr relay
MIT License
35 stars 7 forks source link

NIP-42 Auth Not Working #27

Open mplorentz opened 3 months ago

mplorentz commented 3 months ago

Hello! I have set up a nostrrelay using LNBits and enabled "Require Auth" for filters and all events.

However I'm not seeing an "OK", or any message returned when my client sends ["AUTH", {signed auth event}].

I think perhaps deleting line 133 here would allow the function to proceed and return "OK".

I've tested this using nak and trying to do the raw auth flow myself using websocat, but maybe I'm doing something wrong.

Update: I tried fixing this myself in my fork but I can't figure out how to install my fork on my LNBits instance. I wondered if the docs are out of date, because my manifest.json looks very different from https://raw.githubusercontent.com/lnbits/lnbits-extensions/main/extensions.json.