From dd11b7ee338d387d7e12abc10373b9e7ea223560 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Sun, 28 Jul 2024 15:40:19 -0700 Subject: [PATCH] Cleanup event fields --- 68.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/68.md b/68.md index 506dd4f3..e297e2d4 100644 --- a/68.md +++ b/68.md @@ -48,15 +48,14 @@ Each client app has an “identity” keypair whose private key stays server sid // ... other fields "content": { "name": "Zappy Bird", - "domain": "zappybird.com", - "picture": "https://zappybird.com/logo.png", - "image": ["https://zappybird.com/auth/callback"], + "nip05": "_@zappybird.com", + "image": "https://zappybird.com/logo.png", "allowed_redirect_uris": ["https://zappybird.com/auth/callback", "zappybird://auth/callback"], } } ``` -This event contains the content that would show up on a permissions page: app name, image, and a NIP-05-verified domain. See [below](#why-not-just-use-the-kind-0-metadata-event-for-app-identity) for reasons why this shouldn’t just be the kind-0 event. Critically, it can also contain restrictions on who can receive connections as this app identity. +This event contains the content that would show up on a permissions page: app name, image, and a NIP-05-verified address. See [below](#why-not-just-use-the-kind-0-metadata-event-for-app-identity) for reasons why this shouldn’t just be the kind-0 event. Critically, it can also contain restrictions on who can receive connections as this app identity. ### OAuth