onmetal-dev / metal

bare metal PaaS
https://www.onmetal.dev
GNU Affero General Public License v3.0
2 stars 0 forks source link

[BUG] Synchronize active Clerk organization across browser tabs #64

Open linear[bot] opened 3 months ago

linear[bot] commented 3 months ago

A bug was reported by @raf wherein if you opened two tabs of the Metal website and switched Clerk organizations in one of them, that switch didn't get synced to the second one. This is demonstrated in his screen recording (named rafs-recording.mp4).

I tried various things to fix this, but they were all unsuccessful. The surprising thing is that reloading the stale tab also doesn't make it get the correct active organization, as can be seen in my own screen recording (named folushos-recording.mp4)

Here's a list of the things I tried.

All the code related to the above attempts can be found in this commit. (I did a create-commit-and-then-revert dance, so no those changes didn't get merged.)

rafs-recording.mp4

folushos-recording.mp4

linear[bot] commented 3 months ago

MET-38 [BUG] Synchronize active Clerk organization across browser tabs