- From: Arthur Stolyar <notifications@github.com>
- Date: Sun, 30 Apr 2017 15:28:00 -0700
- To: w3c/push-api <push-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 30 April 2017 22:28:57 UTC
Hi! So in VAPID `subscription.endpoint` has unique id. Can that (or should?) be reliably used to identify devices? Example: 1. Device subscribed -- subscription stored on the server with subscript/endpoint as primary key 2. Device got new subscription, `pushsubscriptionchange` fired with old/new subscription 3. ServiceWorker sends to the server 2 subscription info: old one and the new one to replace with Can server rely on unique endpoint here to performing matching and replace the old subscription with the new one? Or having custom UUID / cookie session is the way to go here? Thanks. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/issues/193#issuecomment-298261549
Received on Sunday, 30 April 2017 22:28:57 UTC