Infinitely long-lived cookie for auth? Anything I'm missing?

51 views
Skip to first unread message

Lindsey Simon

unread,
Aug 15, 2014, 12:23:46 PM8/15/14
to web...@googlegroups.com
I'm having trouble keeping my users logged in with the auth cookie.
Is the cookie's expiration time the only factor for it's validity?

Here's what I'm trying now for my config:
# webapp2 config
app_config = {
    'webapp2_extras.sessions': {
        'secret_key': settings.SESSION_KEY
    },
    'webapp2_extras.auth': {
        'user_attributes': [],
        'session_backend': 'datastore',
        'token_max_age': 86400 * 7 * 500  # aka forever
    }
}

Fábio Uechi

unread,
Dec 24, 2014, 6:08:10 AM12/24/14
to web...@googlegroups.com
I'm having the same problem here.
Did you manage to solve it ?
Reply all
Reply to author
Forward
0 new messages