Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create WebPushChannel2023 #140

Closed
Tracked by #161
elf-pavlik opened this issue Jan 5, 2023 · 2 comments · Fixed by #196
Closed
Tracked by #161

Create WebPushChannel2023 #140

elf-pavlik opened this issue Jan 5, 2023 · 2 comments · Fixed by #196

Comments

@elf-pavlik
Copy link
Member

elf-pavlik commented Jan 5, 2023

It should supersede WebPushSubscription2022

This should follow updates to latest 0.2 of the protocol.

Few suggestions:

  • reuse notify:sendTo (former target) and just define it as Push Endpoint from the PUSH API
  • advertise vapidPublicKey in the Subscription Resource description where Subscription Client will make Subscription Request. Discovery Resource also includes that description.

@uvdsl

@elf-pavlik
Copy link
Member Author

#160 centralizes all custom references in one shared json file, all W3C and IETF references are already available at https://www.specref.org/ so they don't have to be defined by us.

This PR also provides a very generic Terminology section that can be included, it just references the Solid Notifications Protocol where most of the terms are originally defined.

@elf-pavlik
Copy link
Member Author

elf-pavlik commented Apr 18, 2024

I will be working on this issue over the following weeks; I'm also working on a workaround for the limitation of having PushSubscription tied to a single Notifications Sender.

I have an initial demonstrable implementation doing the following:

sequenceDiagram
  participant App
  participant AA
  participant RS1
  participant RS2
  participant RS3

  App ->> AA: Create Web Push channel
  AA ->> RS1: Create Webhook channel
  loop Every notification
    RS1-->>AA: Deliver notification
    AA -->>App: Forward notification
  end
  App ->> AA: Create Web Push channel
  AA ->> RS2: Create Webhook channel
  loop Every notification
    RS2-->>AA: Deliver notification
    AA -->>App: Forward notification
  end
  App ->> AA: Create Web Push channel
  AA ->> RS3: Create Webhook channel
  loop Every notification
    RS3->>AA: Deliver notification
    AA -->>App: Forward notification
  end
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant