if ($c->req->params->{email} && $c->req->params->{id_token}) {
$c->req->param( realm => 'google');
}
+
+ $c->stash->{google_client_id} = $c->config->{'Authentication::Credential::Google'}->{client_id};
};
=head2 register with recaptcha
<span
class="g-signin"
data-callback="googleSignIn"
- data-clientid="577442226093-pi2ud795g49ibip78bgfoabhl4kdrguc.apps.googleusercontent.com"
+ data-clientid="[% google_client_id %]"
data-cookiepolicy="single_host_origin"
data-requestvisibleactions="http://schema.org/AddAction"
data-scope="https://www.googleapis.com/auth/plus.profile.emails.read"
</Model>
<Authentication::Credential::Google>
public_cert_url https://www.googleapis.com/oauth2/v1/certs
+ client_id 577442226093-pi2ud795g49ibip78bgfoabhl4kdrguc.apps.googleusercontent.com
</Authentication::Credential::Google>