-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Extension] Unable to log in to Hypothesis from USA Today pages in Extension #353
Comments
If this is affecting extensions that require users to log in, then either everyone with basic auth is going to be affected or there must be a solution for extension developers. So I imagine part of the investigation will be into that question. |
Focusing only on extension (Via in #333) Per @robertknight in #333 (comment):
@robertknight Same question as with Via: if we have users complete a workaround where they go log in on a site that does not use this COOP (maybe even one we host), can they then come back to this page, would that work to "log them in?" In my testing, it seems like no, but you've mentioned this affects only new logins, which make me think I'm just doing it wrong. If you can do this and I am just doing it wrong, then perhaps another option would be to point people to this workaround rather than resorting to a short-lived BroadcastChannel solution or extension APIs. (Not that this is the right one, because I don't know what you were thinking, but the |
This comment is a summary of what I've learned so far from investigating this issue and how it affects Hypothesis: Web browsers are introducing a new set of headers that will enable "cross-origin isolation" documents, and the availability of certain web platform features will be tied to documents being in a cross-origin isolated state. https://web.dev/why-coop-coep/ explains the rationale for introducing this feature and how the various headers interact with it. A consequence of enabling cross-origin isolation today is that popup windows, such as our OAuth login window, lose access to the frame/window that opened them via The The a site sets the The situation with these web standards is fluid. There are some proposals being discussed (see #333 (comment)) which would help us, specifically the one that would allow limited access to In terms of what we need to do right now, I agree with your conclusion @chrisshaw: We don't need to do anything for Via at the moment, and for the browser extension we have a simple workaround. For bookmarklet users the workaround is to use Via, similar to sites that use Content-Security-Policy. We can keep an eye on the evolution of web standards over the next few months and then follow whatever the final recommendations are for sites which use login popups. |
I'm going to close this here as the only work remaining for now is some documentation by either @mattdricker or myself. I will open the requisite work in the support backlog. |
Related
Depends on #333 , but focused on solving the problem for the extension.
Bug report form
Steps to reproduce
Expected behaviour
The Hypothesis login pop-up window should appear with appropriate username and password fields available.
Actual behaviour
An entirely blank pop-up window displays.
Browser/system information
Tested on:
Note: The issue does not seem to affect Safari 15.3
Additional details
If you are already logged in to Hypothesis all functionality works as expected.
Prior Art
From #333
The text was updated successfully, but these errors were encountered: