what about Oxchat's push system? i know in the apl it uses the oxchat relay but maybe can be forked and used for the relays 's space?
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:
Discussion
I like the initial design, but I think it's missing a lot of important stuff. Could be a good starting point though, the architecture makes a lot of sense.
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgwwaehxw309ahx7uewd3hkctcpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtcprpmhxue69uhhyetvv9ujuumfv9khxarj9e3k7mf0qy88wumn8ghj77tpvf6jumt99uqzq7km2gxr437tdhyz2dggmuxwrkt4mfylaldfkhy4vaz2qjwjxzkwa0t06c I found the NIP 04 based spec for push notifications, is that currently in production anywhere? Has more work been done on that anywhere? I'm thinking of drafting a NIP that works with NIP 89 to choose a push provider, delegate auth, register push or email notifications, etc.
See https://github.com/nostr-protocol/nips/pull/1796 for an updated version, would love your feedback nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq3samnwvaz7tmjv4kxz7fwwd5kzmtnw3ezucm0d5hsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0qy88wumn8ghj77tpvf6jumt99uq3wamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmny9uqzq7km2gxr437tdhyz2dggmuxwrkt4mfylaldfkhy4vaz2qjwjxzkwdvr2zc