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
Issue opened for the creation of a wiki page that summarizes the doubts and problems for newbies (#210).
Using authboss-sample to understand authboss I noticed something that is strange maybe just for me because I still do not understand how it works authboss's remember me module. Maybe.
When a "rm" cookie is created I found in browser two cookies:
ab_blog and
rm.
Both have "Expires / Max-Age" = "Session" which I think is until browser get closed (or at least should be).
Now I think authboss-sample is rightly an example and so we need to set appropriately our settings like:
...cookieStore=abclientstate.NewCookieStorer(cookieStoreKey, nil)
cookieStore.HTTPOnly=truecookieStore.Secure=truecookieStore.MaxAge=7776000// 90 days for example
Am I right? Or am I still omitting - blatantly - something already written somewhere?
In the case - very easily - I'm wrong, how can a "remember" cookie last only until the browser is closed? Does this make sense?
The text was updated successfully, but these errors were encountered:
Issue opened for the creation of a wiki page that summarizes the doubts and problems for newbies (#210).
Using
authboss-sample
to understandauthboss
I noticed something that is strange maybe just for me because I still do not understand how it works authboss'sremember me
module. Maybe.When a "
rm
" cookie is created I found in browser two cookies:ab_blog
andrm
.Both have "
Expires / Max-Age
" = "Session
" which I think is until browser get closed (or at least should be).Now I think
authboss-sample
is rightly an example and so we need to set appropriately our settings like:Am I right? Or am I still omitting - blatantly - something already written somewhere?
In the case - very easily - I'm wrong, how can a "remember" cookie last only until the browser is closed? Does this make sense?
The text was updated successfully, but these errors were encountered: