are different, use the callback as the openid realm.
"openid.identity":
"http://specs.openid.net/auth/2.0/identifier_select",
"openid.return_to": url,
- "openid.realm": self.request.protocol + "://" + self.request.host + "/",
+ "openid.realm": urlparse.urljoin(url, '/'),
"openid.mode": "checkid_setup",
}
if ax_attrs:
instead of creeping later due to accumulated errors.
* The template ``{% module %}`` directive now works even if applications
use a template variable named ``modules``.
+* `~tornado.auth.OpenIDMixin` now uses the correct realm when the
+ callback URI is on a different domain.