Global Feed Post Login
Replying to Avatar Water Blower

A relay admin page needs to sign in as well. But I haven't decided on what's the best way to sign-in a relay admin page with NIP-07 yet.

Since the admin page talks with the relay through HTTP, not WebSocket. Where should the auth event be stored? In the header? Use jwt?

All these are too hard so that I just use a manully set password to unblock my development.

replaceable events are not supported yet. All events are just treated as it is.

Avatar
verbiricha 1y ago

You can use NIP-98 for HTTP auth https://github.com/nostr-protocol/nips/blob/master/98.md

Reply to this note

Please Login to reply.

Discussion

No replies yet.