-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSO Fallback does not work on Riot-desktop #13719
Comments
This is related to matrix-org/synapse#7484 |
This is not related to matrix-org/synapse#7484 The error is:
Which comes from the depths of electron. |
turt2live
added a commit
to element-hq/element-desktop
that referenced
this issue
May 20, 2020
The docs (https://www.atom.pe/docs/api/sandbox-option/) say we should be using the browser-native `window.open` implementation, but in practice that appears very much false. Electron, no matter our set of options, appears to always make a hit to the ipcRenderer with `window.open` calls, causing the calling code to explode due to the sandbox making that impossible. By using `app.enableSandbox()`, it puts the sandbox in place over all BrowserWindow objects, including the temporary ones which empirically are being created for `window.open`. We do not need to specify `sandbox: true` to the BrowserWindow with this approach, though uncommenting and therefore reintroducing the flag causes our lovely ipcRenderer error again. As far as I can tell, the sandbox does actually get applied to the window though the fact that `sandbox: true` still does things despite the docs saying otherwise leaves me a bit uncomfortable. Fixes element-hq/element-web#13719
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The new cross-signing SSO/SAML flow is working from riot-web but on riot-desktop when the user gets to the authorized web page, the desktop app never seems to recognize it.
Steps to reproduce
Describe how what happens differs from what you expected.
I'd expect that the authentication and encryption upgrade completes.
Version information
For the desktop app:
The text was updated successfully, but these errors were encountered: