Skip to content

Conversation

tonyanziano
Copy link
Contributor

@tonyanziano tonyanziano commented Mar 22, 2021

Previously, the Azure login flow was listening for redirects in the auth popup window using the history property on Electron's BrowserWindow.webContents property. However, I failed to find this property documented anywhere in their current docs or even the older docs of the version we were using.

With the newer version of Electron, this history property was always showing up as an empty array, so the Emulator never detected that the login flow completed and reached the desired redirect URL.

I have updated the login flow to use a simpler API.

Fixes #2247

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.002%) to 67.821% when pulling cd32282 on toanzian/auth-fix into e879409 on main.

@cwhitten cwhitten merged commit aa7ac0e into main Mar 22, 2021
@cwhitten cwhitten deleted the toanzian/auth-fix branch March 22, 2021 23:27
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.

Page not found after Azure Account Sign in
3 participants