w3c / push-api

Push API
https://w3c.github.io/push-api/
Other
144 stars 40 forks source link

Question: what about shared device #353

Open stefanKP50 opened 2 years ago

stefanKP50 commented 2 years ago

As i understood, endpoint is done against browser. So what happens if 2 users use same browser ?

I know a solution could be to unregister service worker on user1 logout, but what about session expiration and / or not logged out user (just close pwa) ? And i imagine unregister sw could have related miss configuration (no more notification ?)

I'm not sure to be clear, but did someone have this situation to take care ? Thanks