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

Can't sign in with github on community instance with Firefox Nightly #1839

Closed
glandium opened this issue Oct 31, 2019 · 5 comments · Fixed by #1843
Closed

Can't sign in with github on community instance with Firefox Nightly #1839

glandium opened this issue Oct 31, 2019 · 5 comments · Fixed by #1843
Labels
bug Something isn't working

Comments

@glandium
Copy link

With Firefox Nightly 72.0a1 (2019-10-30):

@glandium glandium added the bug Something isn't working label Oct 31, 2019
@glandium
Copy link
Author

(It works in Firefox Release)

@djmitche
Copy link
Collaborator

I feel like this has been a bug "in nightly" for several FF release cycles now. Is there some feature that's preffed off in release that causes this?

@glandium
Copy link
Author

And setting dom.targetBlankNoOpener.enabled to false on Nightly fixes it. So presumably, TC would need to adjust to work with the new browser behavior.

@glandium
Copy link
Author

glandium commented Oct 31, 2019

Hotpatching the <button> to add rel="opener" via the inspector works, so presumably this patch should fix it, assuming it's the right place:

diff --git a/ui/src/components/SignInDialog/index.jsx b/ui/src/components/SignInDialog/index.jsx
index 5ecd88adb..8baa8bc59 100644
--- a/ui/src/components/SignInDialog/index.jsx
+++ b/ui/src/components/SignInDialog/index.jsx
@@ -107,6 +107,7 @@ export default class SignInDialog extends Component {
                 button
                 component="a"
                 href="/login/github"
+                rel="opener"
                 target="_blank">
                 <ListItemAvatar>
                   <Avatar>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants