Is something like this possible?
  1. User clicks the "Login with Nostr" button
  2. Input field "Enter your Nostr npub" becomes visible
  3. SN sends a login/signup link via Nostr DM
  4. User clicks the link
  5. Logged in!
  6. 🎉
Same as email signup/login, for this time Nostr becomes the communication platform.
I don't know of a standard for authenticating with Nostr on the web, but it is possible to do using Nostr signing extensions.
NIP-07 provides the signEvent function to web apps, NIP-42 defines an event that is signed by the user to authenticate against a relay. The same type of event, or a similar one, could be used for web authentication as well.
reply
eh, sounds too compromising
reply
What do you mean? Compromising what? Your privacy?
You don't have to use it.
reply
my bad for assuming stacker.news has a community preference for privacy. Silly assumption of mine.
reply
Not a silly assumption. I also think there is a preference.
But nostr itself is not compromising your privacy. You just generate a keypair and are anonymous on nostr. Linking that account to SN does not mean that you are suddenly no longer anonymous.
However, you can argue that you have less privacy now since more information about you is exposed. So maybe that's where you are coming from? But it's still a choice.
So I don't get why you are against it. This makes it more accessible for nostr users who don't care about linking nostr and SN. They are still anonymous afterwards, anyway.
reply
I think is the way that https://vida.page made it
reply
I like this idea, there is a logo available for exactly this for those who want to adopt it
reply