You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a devise_token_auth rails api backend with a ng-token-auth angular frontend. I had to activate cookies in order to support ActiveAdmin, using the config below in application.rb
But the cookies and session data in the store continue to grow. If I reload the angular app (browser refresh, I see cookies several kb's long. If I trigger a fast double reload, I loose the current token and the session size increases.
Any ideas on how to make devise_token_auth play together with CookieStore?
The text was updated successfully, but these errors were encountered:
I'm using a
devise_token_auth
rails api backend with ang-token-auth
angular frontend. I had to activate cookies in order to support ActiveAdmin, using the config below in application.rbHowever, as soon as I turn this on, I see massive cookies (well over the 4kb limit) that throw:
As a workaround, I've added replaced the store with
active-record_store
to keep session information in active record:But the cookies and session data in the store continue to grow. If I reload the angular app (browser refresh, I see cookies several kb's long. If I trigger a fast double reload, I loose the current token and the session size increases.
Any ideas on how to make
devise_token_auth
play together withCookieStore
?The text was updated successfully, but these errors were encountered: