- cross-posted to:
- lemmyworld
- voyagerapp
- cross-posted to:
- lemmyworld
- voyagerapp
We’ve installed Voyager and it’s reachable at https://m.lemmy.world, you can browse Lemmy, and login there (also if your account isn’t on lemmy.world)
PS Thanks go out to @stux@[email protected] , he came up with the idea (see https://m.geddit.social).
Makes sense, never thought about that. An annoying situation, I wonder how many security issues would crop up if browsers allowed ignoring cors for pwas…
Currently apicalls are proxied through the server but end up with the lient all the same, with the session being stored in local storage “credentials”?
Will you currate a manual whitelist for direct calls or have the app test if direct fails and fall back to proxied?
At this point it’s manual. We could do some intelligent detection, but at the pace Lemmy dev is moving, I don’t think it’s worth it. The goal is to rip out the proxy completely once there’s a bit more time for most servers to upgrade, and also https://github.com/LemmyNet/lemmy/issues/3567 is resolved.
Why not add a new tier to pwas. You need to only use cookies scoped to your own domain, you get a new container without any existing session cookies etc. for other websites, but cors is dropped.
That should prevent carelessly putting auth tokens into cookies and should replace cors in that sensitive sessions are containered away and all existing data for other websites that where slopily created somehow are isolated.
After all for the way wefwef works for example I see no benefit to cors