keegan on Nostr: How do I authenticate a nostr user on a new app? I'm using #[0] nostr-tools Is it as ...
How do I authenticate a nostr user on a new app? I'm using
jb55 (npub1xts…kk5s) nostr-tools
Is it as simple as prompting the user for their secretKey (priv) and passing it to getPublicKey() then querying relays for their profile info?
Published at
2023-03-08 02:14:24Event JSON
{
"id": "ee7433dc75e9b53a918496667fe811fd1a922d8b6035516c8aa122fe4d9474e3",
"pubkey": "cc8a1b15e6323736731386c664eda0477016a3a246b2fc885ffc1c5ef1a5e6ce",
"created_at": 1678241664,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"",
"mention"
]
],
"content": "How do I authenticate a nostr user on a new app? I'm using #[0] nostr-tools\n\nIs it as simple as prompting the user for their secretKey (priv) and passing it to getPublicKey() then querying relays for their profile info?",
"sig": "626cf3037b78051a2a9b126ac4e53a086ff52fdc121af805e2d12098c3b96794fa4a4e711232ceb394ae8481a558032c5aa909ed11470800e9d49c1f91c08bca"
}