Alex Gleason on Nostr: What I worked on today: Ditto users can now be admins. We validate that they're an ...
What I worked on today:
https://gitlab.com/soapbox-pub/ditto/-/merge_requests/33Ditto users can now be admins. We validate that they're an admin on certain endpoints by having them sign an event.
I am using NIP-07 to sign NIP-98 events over NIP-46 to authorize users. I think I'm the only one doing this.
Published at
2023-09-03 03:46:27Event JSON
{
"id": "4290ccc3a711196f79f8a918b984f7b9557e2e5a4459bf14c847cf7ec8f14d11",
"pubkey": "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6",
"created_at": 1693712787,
"kind": 1,
"tags": [
[
"proxy",
"https://gleasonator.com/objects/c65b4f68-4771-4ce4-b457-7059c2b524f0",
"activitypub"
]
],
"content": "What I worked on today: https://gitlab.com/soapbox-pub/ditto/-/merge_requests/33\n\nDitto users can now be admins. We validate that they're an admin on certain endpoints by having them sign an event.\n\nI am using NIP-07 to sign NIP-98 events over NIP-46 to authorize users. I think I'm the only one doing this.",
"sig": "48e1bb4769f71efc0caaf175b7e591ddd7216a8c34489cc7b9f9f0c60cf6ecf61a5f1088550d9aa42342640dca237afa48449220ed4c7d0e4b5a935651f2e1a5"
}