You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.xAUTH_USER_COOKIE_NAMEAUTH_USER_COOKIE_NAME = "vsf-user"