-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issues with Rails 5.2.2 #14
Comments
After further investigation the problem for me is only present in Rails >= 5.2. 5.0.x and 5.1.x all seem to work fine. |
I will have to take a look at the changes in 5.2, things like rails/rails#28132 I'll try to find some time by end of week |
@CD1212 Temporary fix for Rails 5.2 is to set |
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 checking I had the correct environment variables I started to try and figure out where the problem might be.
In message_verifier.ex the
verify
function looks like it attempts to split a cookie value of something likeabcdefgh--abcdef
(2 segments). However mine had 3 segments, eg.abcdefgh--abcdef--abcdef
.I downgraded to Rails 5.0.0 and everything immediately started working so I'm guessing it must be a problem with the latest Rails version.
Has anyone else experienced the same issue?
The text was updated successfully, but these errors were encountered: