checkout nostr-relay-proxy for a reference on how I implemented AUTH on REQs https://github.com/bndw/nostr-relay-proxy