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.
Discussion
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.
And here was the session based code.
https://gist.github.com/blakejakopovic/b0065b9327c48c148bfe989c08137ba1
sweet, lemme know what you think about my technique, i've been following your examples, same thinking as this example. having sessions is fun 💀
I’ve DM’s you some feedback on the repo.