lemon on Nostr: One challenge I’ve found is integrating persistent mobile login on a web-app for ...
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?
Published at
2025-03-30 00:52:59Event JSON
{
"id": "4a85cd5889baa11cdc1100dd9bf1b825e774a9267f7ab0eb2a00f72b9f3d3925",
"pubkey": "be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"created_at": 1743295979,
"kind": 1,
"tags": [
[
"e",
"8f6e36d288a60c44aedd7eec86bf074bc45e9019ff21457b02d286b012b213f5",
"",
"root"
],
[
"e",
"e82db3b5123b92f2c929b6662d24aeae1eb8a23aece6468d559438b6136929bc",
"",
"reply"
],
[
"p",
"f8e6c64342f1e052480630e27e1016dce35fc3a614e60434fef4aa2503328ca9"
],
[
"p",
"8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c"
]
],
"content": "One challenge I’ve found is integrating persistent mobile login on a web-app for iOS that doesn’t have terrible UX\n\nI don’t want to handle keys and there isn’t an Amber equivalent on iOS yet\n\nSo my workaround has been to not require login at all and just give people links generated by my own key\n\nI could add some logic like:\n“IF logged in, then user uploads must be signed by user; ELSE, sign event on user’s behalf with gifbuddy key”\n\nThen make a new page for logged-in users to see their own uploaded content\n\nIs that what you had in mind?\n\nOr are you guys thinking about it differently?",
"sig": "d71a340c17468469375d7fa881232de2517e9ec607b074d1d5c8de609c40b4d2233ef72b855e64b08982d9de98dcb650d67117bbafe555d95e2be2e7ebe48151"
}