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
Enforce __session name for cookie #8014
Conversation
Firebase will remove all cookies without that name https://firebase.google.com/docs/hosting/manage-cache#using_cookies
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @leoxs22, thanks for the PR, and welcome to the team 🎉 🎉 🎉
The code seems to be working fine with the fix. I sent a suggestion to the text because it implies more than it should (at least to me, maybe I'm being a bit paranoid). Besides that LGTM
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Thanks! I agree, it looks better that way 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…8014 (__session) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
…ession) (#8153) * i18n(fr): Update `guides/backend/google-firebase.mdx` from #8014 (__session) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * Update src/content/docs/fr/guides/backend/google-firebase.mdx Co-authored-by: Luiz Ferraz <luiz@lferraz.com> --------- Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
…8014 (__session) (withastro#8153) * i18n(fr): Update `guides/backend/google-firebase.mdx` from withastro#8014 (__session) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * Update src/content/docs/fr/guides/backend/google-firebase.mdx Co-authored-by: Luiz Ferraz <luiz@lferraz.com> --------- Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Description (required)
Docs snippets are saving a cookie called
session
Firebase will remove all cookies except for
__session
https://firebase.google.com/docs/hosting/manage-cache#using_cookiesUsing the current code in the docs will result in a 500 error. Adding a log in a middleware will show that no cookies are being received in the firebase function.