It needs a few more things, but I have login UI working now.

If it works well I’d like to extract out the ‘Login with Nostr’ session management part and perhaps have it as a standalone framework/app/example/template. It’s useful when you need someone to login and access server data - not just impersonate them in read only mode for web clients.

For example, I’d like to add it to my Archive service to verify you before I share your archive link.

Reply to this note

Please Login to reply.

Discussion

The other good example where this is good is for logging into a relay as your pubkey, and perhaps having access to relay settings and personalisation. Maybe spam levels, or network filters, or preferred location or similar.