plug_rails_cookie_session_store
plug_rails_cookie_session_store copied to clipboard
Rails compatible Plug session store
Does this library permit to generate cookies like in rails if settings are the same?
Besides other documentation changes, this commit ensures the generated HTML doc for HexDocs.pm will become the source of truth for this Elixir library and leverage on latest features of ExDoc.
I tested the PR with Rails 6 but with `Rails.application.config.action_dispatch.use_cookies_with_metadata = false` which according to docs makes it compatible with Rails 5.2. Here are minimal changes that I have to...
Our Rails 4 application encodes cookie with Marshal and for some reason its encoded value consists of newlines (`\n`) By default `Base.decode64/1` throws an ArgumentError ```elixir iex> content = "BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiKTk5ZDQ3YzdiLTdlODItNGUxZS1h\nYTMyLWE4MjIwOWVhNDA5ZQY7AFQ=\n"...
Has anyone been able to get this working with LiveView or have any recommendations as to how I might debug this issue... I am starting with [https://github.com/dersnek/chirp](https://github.com/dersnek/chirp ) as a...
When I share a session created in Phoenix with my Rails 4.2 app I get the following exception in my views when calling `form_authenticity_token` or `csrf_meta_tags`. Any ideas? `nil can't...
In a brand new Rails 5.2.2 app attempting to communicate with a Phoenix 1.4.0 (Cowboy 2.7.0) app I was unable to get this plug to work. After double and triple...
Using (at least) Phoenix 1.3, I cannot get the way to write into the session effectively. At the moment I'm able to read the Rails session correctly, but nothing I...
# Problem In Rails 7.1 (which bumps Rack from 2.2.8 to 3.0.9.1 and rack-session to 2.0.0) the cookies are not compatible with Rails 7.0. When I copy in Chrome from...