cloud fodder on Nostr: On the relay side, the flow is as follows: On connect, immediate send auth challenge. ...
On the relay side, the flow is as follows:
On connect, immediate send auth challenge. Go into a loop, for any event, req send ok=false and close and additional auth challenge until a successful auth is received. Then send ok to the auth, and any subsequent auths. Then pass the next messages to strfry which should respond ok (unless you disco too fast)
Published at
2024-07-09 18:16:41Event JSON
{
"id": "13b24f18e3b73f4a6c5e436443785d68b5112c87dc8384d07baeb482f1d730aa",
"pubkey": "7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e",
"created_at": 1720549001,
"kind": 1,
"tags": [
[
"e",
"000006f12dea48ce1bf760ea2c2df37808e41b2e4ae10ff64207b4243f515e30",
"",
"root"
],
[
"e",
"aedb7a35c8a68153bef0f0cb62f7ca2cc31b6713f3a123308127910bf4be32d5"
],
[
"e",
"dcec58dd1032305cde5477ea485987952fb35759502da5ecc9a817b13b304ecc",
"",
"reply"
],
[
"p",
"7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "On the relay side, the flow is as follows:\n\nOn connect, immediate send auth challenge. Go into a loop, for any event, req send ok=false and close and additional auth challenge until a successful auth is received. Then send ok to the auth, and any subsequent auths. Then pass the next messages to strfry which should respond ok (unless you disco too fast)",
"sig": "7921494ebd977bc7bb684597aac288aca8307f16b282f1f593b7467b49895332372f19e5627fe33d1fb635d66036b32f20c63622c7f6a55797c401a981d16e19"
}