Show thread history

Fabian

2w ago

This method still exists but never really took off:

Fabian

Apr 19, 2024

If your website requires login, consider adding login with nostr.

Demo:
el


NIP-97: Login with Nostr: https://github.com/nostr-protocol/nips/blob/login/97.md

See translation

See translation

8
20
3
2
591


Do you have thoughts?

Log in to leave a comment


Replies

exist270

@exist270

2w ago

I'm implementing this on my site whenever I get some free time this week. 🤙

See translation

0

1
0
0
0

sudocarlos

@sudocarlos

2w ago

Could this be extended to turn nostur into a full blown signer?

See translation

1

0
0
0
0

lemon

@lemon

2w ago

Asking the right questions 👍

See translation

1

0
0
0
0

Fabian

@Fabian

2w ago

full blown signer is more difficult on iOS, @Terry Yiu was working on something for that:

npub1yaul8

2mo ago

GM! Verified that this approach works. This is where the fun begins.

3. Signer iOS action extension via Share Sheet ✅

npub1yaul8

2mo ago

So close to cracking the code to get a viable native iOS Nostr signer proof of concept working. I think I’ve verified almost all possible approaches that will work.
1. nostrsigner:// URL scheme + callbacks ✅
2. Signer iOS shortcut + clipboard ✅
3. Signer iOS action extension via Share Sheet (last step to figure out how to pass data back from extension to host app)

More tomorrow.

See translation

See translation

See translation

0

1
0
0
0

Joe Ruelle

@JoeRuelle

2w ago

One tricky part there is iOS doesn't do disambiguation like Android does.

See translation

0

0
0
0
0

Karnage

@Karnage

2w ago

Says it’s a draft nip? I don’t see it in the official nip list

See translation

0

2
0
0
0

treasuredan

@treasuredan

2w ago

I would zap you yet I guess there is a daily limit on how many sats I can purchase so I better go back to 42 onward 🫡. 😃😎

See translation

0

0
0
0
444

lemon

@lemon

2w ago

Wait, after reading through the nip more, this method doesn’t seem to operate as an event signer (unless I’m missing something)

If that’s true then how is that better than simply logging in with an npub?

If @corndalorian's goal is to have a page where he can see how many views his media has gotten, I think that requires publishing an event to @The Fishcake🐶🐾 & 763 others ‘s NIP98 API (to get a nostr.build url) or just uploading to nostr.build directly

Let me know if I’m missing something though

See translation

0

2
0
0
0

lemon

@lemon

2w ago

That’s great! Thanks for sharing! Is this currently active on Nostur or just a demo currently?

See translation

1

3
0
0
0

Fabian

@Fabian

2w ago

its active, but I think I may have broken it in some update without noticing, I will check later today

See translation

1

2
0
0
0

jack

@jack

2w ago

For those looking to reach me personally for all things related Bitcoin, investment guidance and tips, you can connect with me on simpleXchat app using my invitation link below 👇👉
https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2F0YuTwO05YJWS8rkjn9eLJDjQhFKvIYd8d4xG8X1blIU%3D%40smp8.simplex.im%2Folen9O3RD88fUzzrNSP7TE-sXk1qVlTa%23%2F%3Fv%3D1-3%26dh%3DMCowBQYDK2VuAyEA_PYNjTgKUwEnK5b3I0FGv-HtOdYzlesWwbJtcIwDxkg%253D%26srv%3Dbeccx4yfxxbvyhqypaavemqurytl6hozr47wfc7uuecacjqdvwpw2xid.onion

Note 📝 : The link won’t be up for long!! won’t be up for long!!

See translation

0

1
0
0
0

corndalorian

@corndalorian

2w ago

Holy fucking shit you mean this has been an option all this time? Why doesn’t anyone use it? My mind is blown and I’m genuinely dumbfounded. This is perfectly elegant.

See translation

4

7
0
0
93

Guy Swann

@TheGuySwann

2w ago

Dude holy shit seriously? I don’t do this on mobile because there’s no good solution and this is so fucking simple. I think @nostr.build is the only one who has the login with DM that is easy enough to do real fast on mobile

See translation

1

1
0
0
0

corndalorian

@corndalorian

2w ago

💯 Even if it’s not perfect, it’s better than nothing, and it’s much easier to understand than setting up a signing extension.

See translation

1

1
0
0
0

lemon

@lemon

2w ago

I don’t think it signs events though if I’m reading the spec correctly

I think it’s just a substitute for Google Login/Apple Login etc

Still useful, but not the same thing as a signing extension

See translation

0

0
0
0
0

Fabian

@Fabian

2w ago

I don’t know, at some point it looked like Damus and nostr.build were going to add it, not sure what happened after

See translation

0

3
0
0
0

Melvin Carvalho

@melvincarvalho

2w ago

The best things in nostr dont always get used

See translation

1

1
0
0
0

corndalorian

@corndalorian

2w ago

🥲

See translation

0

0
0
0
0

boston wine

@bostonwine

2w ago

I love this note

See translation

1

4
0
0
100

corndalorian

@corndalorian

2w ago

🤣 I really don’t get it, how every dev makes it sound like it’s so hard to solve for user friendly sign-in to web apps on mobile and yet this exists. What am I missing? 😅

See translation

2

4
0
0
0

lemon

@lemon

2w ago

In my defense, I’m retarded

See translation

1

3
0
0
0

corndalorian

@corndalorian

2w ago

😭🤣🫂

See translation

0

1
0
0
0

boston wine

@bostonwine

2w ago

Seriously. Nostr client or notstr client, this does seem like the obvious/best option. Maybe a marketing problem 😂🤷‍♂️

See translation

0

0
0
0
0