The Google+ JS API shows credentials and settings can be set using meta tags instead of passing through a JS call. Examples:
<meta name="google-signin-clientid" content="CLIENT_ID" />
<meta name="google-signin-cookiepolicy" content="single_host_origin" />
I tried this on my website and it works, but when I try to validate my HTML the validator gives errors such as:
Bad value google-signin-callback for attribute name on element meta: Keyword google-signin-callback is not registered.
Bad value google-signin-clientid for attribute name on element meta: Keyword google-signin-clientid is not registered.
Bad value google-signin-cookiepolicy for attribute name on element meta: Keyword google-signin-cookiepolicy is not registered.
Bad value google-signin-scope for attribute name on element meta: Keyword google-signin-scope is not registered.
Is the HTML code Google provides as an example really invalid?