open ID realm is hostname only, not uri_for(/)
tla [Mon, 9 Feb 2015 11:43:06 +0000 (12:43 +0100)]
root/src/auth/login.tt

index f330ff9..8193e80 100644 (file)
@@ -7,7 +7,7 @@
 <meta name="google-signin-scope" content="https://www.googleapis.com/auth/plus.profile.emails.read" />
 <meta name="google-signin-requestvisibleactions" content="http://schema.org/AddAction" />
 <meta name="google-signin-cookiepolicy" content="single_host_origin" />
-<meta name="google-signin-openidrealm" content="[% c.uri_for('/') %]" />
+<meta name="google-signin-openidrealm" content="[% 'http://' _ c.uri_for('/').host_port %]" />
 <script src="https://apis.google.com/js/client:platform.js?onload=render" async defer>
 </script>
 <script>