so a relay can preempt auth by sending a closed on connect and then following with an auth? nostr:nprofile1qyv8wumn8ghj7cm9d3kxzu3wdehhxarj9emkjmn99uq3wamnwvaz7tmfde3x77pwdehhxarj9emkjmn99uq3jamnwvaz7tmhv4kxxmmdv5hxummnw3ezuamfdejj7qpq8kzz4lkdtc5n729kvfunxuz287uvu9f64ywhjz43ra482t2y5sksgzn4gz also, is this how you get #coracle to do it (i tried triggering auth on connect with auth required but it sounds like i need to send closed first? kinda weird tho)

Reply to this note

Please Login to reply.

Discussion

I have different auth flows for different relays. Nostr.wine doesn’t AUTH until the client makes a REQ that requires it. It sends CLOSED with auth-required to that REQ.

Filter.nostr.wine just sends an AUTH on connect. If you ignore it and send REQs it returns CLOSED+auth-required.