Has anyone made or are there any examples of using a Nostr browser plug-in to use your private key to sign something to effectively log into a website or service? Ideally two click sign-in — 1. Login button and 2. Approve login (sign using extension). Noting, entering a pubkey alone is unsuitable.

Basically experimenting with Nostr (password-less) Login for a website. Successful login would create a web session for auth against your pubkey. Logout just deletes that session.

Reply to this note

Please Login to reply.

Discussion

I am playing with nos2x

https://github.com/fiatjaf/nos2x

Yep. The extensions are good. The part I’m trying to find prior work is around login using private key (not sharing it.. just using it) or a signed event like the AUTH relay nip.

I want the sign in to validate you have private key access - but beyond that, I don’t need your private key at all. Just confirm you have access to sign things.

I haven’t tried it but I think this site sends you a DM on Nostr with a login token: https://vida.page/

Thanks. I’ve used a similar approach in the past and it works, but is a annoying UX wise.