As i understood, endpoint is done against browser. So what happens if 2 users use same browser ?
user1 subscribe to notifications; then log out
user2 use the same device (let say a desktop) and same browser and subscribe to notifications
user2 will receive user1 notifications !
coming back user1 will receive user2 notifications...
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
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