-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
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 write on the session is finally written in the cookie.
I've just put a test plug to print in console the content opf the session, and everything written in Rails appears, but not the things written in Phoenix. As expected, that avoids also the correct work of CSRF protection (as the key is stored in session).
Any ideas want can be happening?
My config:
plug Plug.Session,
store: PlugRailsCookieSessionStore,
key: "_myapp_session",
domain: '.acutario.dev',
secure: true,
signing_with_salt: true,
signing_salt: "signing salt",
encrypt: true,
encryption_salt: "encryption salt",
key_iterations: 1000,
key_length: 64,
key_digest: :sha,
serializer: PoisonThanks!
johnknott and sensai3ror
Metadata
Metadata
Assignees
Labels
No labels