{{- /* signin.tmpl ~ Sign-in using Google API. */ -}} {{- define "content" }} {{- $client := (index . "clientID") }} {{- $callback := (index . "callback") }} {{- $nonce := (index . "nonce") }} {{- /* Sign In With Google HTML API reference https://developers.google.com/identity/gsi/web/reference/html-reference */ -}} {{- /* Data attributes - data-client_id Your application's client ID. - data-context The sign-in context of the button. The value can be either signin or signup. - data-ux_mode The sign-in flow mode of the button. The value can be either popup or redirect. - data-login_uri The URI of the page that handles the sign-in flow. - data-nonce A random string generated by your application. The string should be a minimum of 16 characters and a maximum of 128 characters. - data-itp_support Whether to enable Intelligent Tracking Prevention (ITP) support. The value can be either true or false. - data-use_fedcm_for_prompt Whether to use the federated sign-in prompt. The value can be either true or false. */ -}}