-
Notifications
You must be signed in to change notification settings - Fork 153
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
cookie support #451
Comments
(This is a follow up to a conversation at ampconf- cc @kristoferbaxter @nainar ) |
+1 vote for the feature. We really really need it. |
Plan of attack:
|
I'd love to see this happen, especially as we're considering making this possible in traditional AMP components in ampproject/amphtml#25670. @kristoferbaxter wdyt? |
This would be great, additionally it would be nice if it could be scoped so we don't need to worry about cross app cookie overlap |
A (sadly) very common pattern for user auth is to rely on cookies for state. As a result, sites need to be able to know up to the moment information about the cookie store, that may be modified in other browser windows (ie multitab). Many major websites need to be aware of cookie jar modifications in other windows (either by rapidly polling document.cookie for changes, or via the Cookie Store API. amp-script/worker dom introduce some really exciting opportunities for component reuse, but in order for that to be possible to many of these authors, we would need to provide a cookie interface, and one that isn’t just a snapshot of the cookie jar on hydration
The text was updated successfully, but these errors were encountered: