We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Apparently, there is a problem with our cookies and their same site attribute. In the future, these cookies will be declined.
The text was updated successfully, but these errors were encountered:
I alreay tried this and this gem to fix the issue, but none of them worked.
Sorry, something went wrong.
Adding an initializer config/initializers/session_store.rbwith the following content:
config/initializers/session_store.rb
Rails.application.config.session_store :cookie_store, key: '_mampf_session', same_site: :strict
Fixes the issue for the (most important) session cookie. For the other cookies I would suggest adding a "helper" in application_controller.rb:
application_controller.rb
def strict_cookie(val) { value: val, same_site: "Strict" } end
and calling it like this:
cookies[:locale] = strict_cookie(I18n.locale)
instead of
cookies[:locale] = I18n.locale
No branches or pull requests
Apparently, there is a problem with our cookies and their same site attribute. In the future, these cookies will be declined.
The text was updated successfully, but these errors were encountered: