One challenge I’ve found is integrating persistent mobile login on a web-app for iOS that doesn’t have terrible UX
I don’t want to handle keys and there isn’t an Amber equivalent on iOS yet
So my workaround has been to not require login at all and just give people links generated by my own key
I could add some logic like:
“IF logged in, then user uploads must be signed by user; ELSE, sign event on user’s behalf with gifbuddy key”
Then make a new page for logged-in users to see their own uploaded content
Is that what you had in mind?
Or are you guys thinking about it differently?
Login to reply
Replies (3)
Yeah, probably have an optimistic execution of sign event using extension and fallback to your keys. I have started collecting stats for all images around a month ago so I can have an api to fetch them and you can use that to determine popularity
I just use the nostore signing extension in Safari on iOS. Works well, but it’s not newb-friendly at all. lol. What about using nostr DMs to sign in? Doesn’t nostr.build use that as an option? I think it at least used to.
This method still exists but never really took off:
If your website requires login, consider adding login with nostr.
Demo:
NIP-97: Login with Nostr: https://github.com/nostr-protocol/nips/blob/login/97.md
View quoted note →
NIP-97: Login with Nostr: https://github.com/nostr-protocol/nips/blob/login/97.md