There are bugs in tornado strategy (tornado_strategy.py) which does not allow using ?next=/foo in login redirect. To fix them it is necessary to replace with these functions:
def request_data(self, merge=True):
return {k: v[0] for k, v in self.request.arguments.iteritems()}
def session_get(self, name, default=None):
val = self.request_handler.get_secure_cookie(name)
return val or default
P.S.
Why it so, see in tornado documentation.
There are bugs in tornado strategy (tornado_strategy.py) which does not allow using ?next=/foo in login redirect. To fix them it is necessary to replace with these functions:
P.S.
Why it so, see in tornado documentation.