Global Feed Post Login
Replying to Avatar hodlbod

Thinking about how to add push notifications to flotilla for closed communities — since push notifications have to be sent from a server, I need some way to get access to auth-gated content. The simple way to do this would be to just share the user's own session with the push server, but for obvious reasons that's a no-go.

The cleanest solution I can think of would be to allow an active NIP 46 session to delegate permissions to another session. All I really need is authorization to sign a `22242` event on behalf of a user.

Below is a draft NIP that introduces a `delegate` method to NIP 46 which "locks" the delegated session to the initially requested permissions:

https://github.com/nostr-protocol/nips/pull/1795

nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcpzamhxue69uhky6t5vdhkjmn9wgh8xmmrd9skctcprpmhxue69uhkg6tjv43hgmmj0yh8jctzw5hx6ef0qy28wumn8ghj7ctvvahjuat50phjummwv5hsqgr40yrkmxhlpfx0mma8ugz97fyxclja30rrhlrtg5uhyvlph07trytzxqzw

Avatar
It's Moro! 10mo ago

nostr:nevent1qqswq6r0dcj6dtxjrlc49lpzws5qld9vqu3umkxn20t5quy6gl42gxcpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtczyztuwzjyxe4x2dwpgken87tna2rdlhpd02va5cvvgrrywpddnr3jyqcyqqqqqqgzezrw9

Reply to this note

Please Login to reply.

Discussion

No replies yet.