Replying to Avatar cloud fodder

Hey #[0], was it you that was asking about logging in w/nostr examples? I took some time today to take what I've learned and push an example for nextjs13. https://github.com/jeremyd/example-nostr-login In the nostr tradition, this is far from perfect and just gonna sling it out into the world anyway in the hopes opensource will prevail.

Yep, it was me. Thanks, I’ll take a look.

I wrote some minimalist code to log in, and sign an event using the normal server AUTH NIP, which created a session cookie. Worked pretty well.

I also wrote a Delete event UI mini-app, however it only signs and doesn’t need sessions.

https://cdn.nostrgraph.net/public/blog.html#naddr1qqyxvve4x5enqdenqy0hwumn8ghj7mn0wd68yttjv4kxz7fwdehkkmm5v9ex7tnrdakj7q3qghzp7g0peac4lfkeegst3cqz546dk7a5n6twazvrf3nd432yddaqxpqqqp65wp3f2hv

Reply to this note

Please Login to reply.

Discussion

sweet, lemme know what you think about my technique, i've been following your examples, same thinking as this example. having sessions is fun 💀

#[0]