title: What to do if multiple users use the same device?
body: <p>I searched online but nobody bizarrely talks about it.</p>
  
  <hr>
  
  <p>First of all, <a href="https://developer.mozilla.org/en-US/docs/Web/API/PushManager" rel="noreferrer">API</a> doesn't seem to support several subscription contexts, it takes no arguments. </p>
  
  <p>But that's not a huge issue because if one user has already given permissions, I can get the already existing subscription and reuse it/point it to second user too (use same url for both).</p>
  
  <hr>
  
  <p>Here's where problems start. If one user is logged in (e.g token in LocalStorage), browser is closed and I send a notification which then wakes up Service Worker and runs my notification event code.. </p>
  
  <p>How do I know if I should show the notification or not? How do I know who's logged in? I have no access to LocalStorage in Service Worker, I have no idea who's logged in. Any other ways?</p>