Hello,
I fixed an issue on my rails application using google omniauth. Sometimes I got the error :
ActionDispatch::Cookies::CookieOverflow _session_id cookie overflowed with size 4128 bytes
In fact, Google send the avatar image url in callback :
So I think the image should be removed from session storage?
|
# auth response to avoid CookieOverflow. |
Hello,
I fixed an issue on my rails application using google omniauth. Sometimes I got the error :
ActionDispatch::Cookies::CookieOverflow _session_id cookie overflowed with size 4128 bytesIn fact, Google send the avatar image url in callback :
So I think the image should be removed from session storage?
devise_token_auth/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb
Line 22 in 02f1117