this is a hard problem to solve correctly, i think applesauce gives you the best primitives to get it right https://hzrd149.github.io/applesauce/relays/relays.html#authentication

Reply to this note

Please Login to reply.

Discussion

it definitely works, as does whatever #jumble uses, and the #coracle library also works. probably NDK doesn't work consistently, or at least it didn't used to.

it was really hard implementing auth on a relay because of how poorly clients implement it

yep NDK doesn't handle this well. it has a lot of other problems too.