Missing OAuth request token cookie error using tornado and TwitterMixin
问题 I'm using tornado and the TwitterMixin and I use the following basic code: class OauthTwitterHandler(BaseHandler, tornado.auth.TwitterMixin): @tornado.web.asynchronous def get(self): if self.get_argument("oauth_token", None): self.get_authenticated_user(self.async_callback(self._on_auth)) return self.authorize_redirect() def _on_auth(self, user): if not user: raise tornado.web.HTTPError(500, "Twitter auth failed") self.write(user) self.finish() For me it works very well but sometimes, users