-
Notifications
You must be signed in to change notification settings - Fork 28.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
Microsoft authentication broken on Codespaces (Web Insiders) #183754
Comments
Microsoft Authentication (Remote) Output
Microsoft Authentication Output
Nothing relevant in Dev Tools (no errors, warnings after login) |
@joaomoreno looks like the UrlHandler in the Microsoft auth extension isn't firing. Any ideas why? |
One thing that’s interesting is that my open-external extension (code here) works fine: but when I start either the Microsoft or GitHub auth flows… their URL Handlers in the extension never fire… so the issue appears to be before the auth extensions, but we have Core & Codespaces layers still to choose from. Another simple repro with GitHub auth:
Go through the flow. Works in Stable just fine... but not Insiders. |
@TylerLeonhardt this seems to be a CORS issue happening in the extension host worker ![]() It also seems to only happen on latest insiders, if you go back in time and use an older version everything works fine. |
@TylerLeonhardt has bisected the behavior change to have happened somewhere in this commit range: 9084e08...9233de8 |
Ok so to but a brief summary here... This was happening because the GitHub Authentication extension was running in both the web worker extension host and the remote extension host. @alexdima pushed a change that influenced when the web worker extension host started and this issue should be fixed in the latest insiders. However, this fix only applies to Codespaces and not Remote Tunnels. I will close this issue since it's fixed for Codespaces, but I will open another issue for Remote Tunnels. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
This doesn't happen in stable version. I really want to make sure this issue doesn't get propagated to stable, because our Codespaces workflow is very heavily dependent on Microsoft auth working properly.
The text was updated successfully, but these errors were encountered: