old_account_lylepratt on Nostr: agree that login with nostr offers a lot of wins! we implemented "Login With Nostr" ...
agree that login with nostr offers a lot of wins!
we implemented "Login With Nostr" on
https://vida.page via a simple 2-Factor DM flow. it's a UX users are familiar with and works on web+mobile.
basically the user gives us a pubkey or a nip-05. if nip-05 we check for relays and auto fill, if just pubkey we also ask them for a relay. then we send them a pin via encrypted DM and ask them to input the pin. if successful, we will their public details via the same relay and provision their account.
Published at
2023-01-07 15:54:05Event JSON
{
"id": "147157f42be249765bdf0a3e1bb371959d49207792abaa36df9b63c402387aee",
"pubkey": "cd6b2f16c7afb47570ab242e0cbe0b9da64e1e7c6978a23c5ef33d4bb4a1cf57",
"created_at": 1673106845,
"kind": 1,
"tags": [
[
"e",
"8e2297434fa9e50b7e90b09af059cebfedb9527aae1a9fe3e3753a67af869f82"
],
[
"p",
"bae77874946ec111f94be59aef282de092dc4baf213f8ecb8c9e15cb7ed7304e"
]
],
"content": "agree that login with nostr offers a lot of wins!\n\nwe implemented \"Login With Nostr\" on https://vida.page via a simple 2-Factor DM flow. it's a UX users are familiar with and works on web+mobile.\n\nbasically the user gives us a pubkey or a nip-05. if nip-05 we check for relays and auto fill, if just pubkey we also ask them for a relay. then we send them a pin via encrypted DM and ask them to input the pin. if successful, we will their public details via the same relay and provision their account.",
"sig": "5a72c5d775260f746f06287e1fd9e497388f7bdeed4622bc67013c9a953040a6d744f66a3efb9f0f5aaca806d592d7a62075a73d06dca943a0162035980c1695"
}