Skip to content
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

fix: Register SSO protocol only once (WEBAPP-6372) (backport) #3144

Merged
merged 2 commits into from
Oct 22, 2019

Conversation

ffflorian
Copy link
Contributor

@ffflorian ffflorian commented Oct 22, 2019

Backported #2956 to Electron 4.

}
});
const isHandled = await new Promise<boolean>(resolve =>
session.protocol.isProtocolHandled(SingleSignOn.SSO_PROTOCOL, result => resolve(result as any)),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The types state that the callback for isProtocolHandled returns an error but it actually returns a boolean.

@ffflorian ffflorian merged commit 45c4536 into release-3.11 Oct 22, 2019
@ffflorian ffflorian deleted the fix/WEBAPP-6372-master branch October 22, 2019 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants