sub retrieve_certs {
my ($self, $url) = @_;
- $url ||= ( $self->{_app}->config->{'Authentication::Credential::Google'}->{url} || 'https://www.googleapis.com/oauth2/v1/certs' );
+ $url ||= ( $self->{_app}->config->{'Authentication::Credential::Google'}->{public_cert_url} || 'https://www.googleapis.com/oauth2/v1/certs' );
return decode_json(get($url));
}
data-cookiepolicy="single_host_origin"
data-requestvisibleactions="http://schema.org/AddAction"
data-scope="https://www.googleapis.com/auth/plus.profile.emails.read"
- data-openidrealm="http://sherlock.scsys.co.uk:3000/"
+ data-openidrealm="[% c.uri_for('/') %]"
>
</span>
</span>
dsn dbi:SQLite:dbname=db/traditions.db
</Model>
<Authentication::Credential::Google>
- url https://www.googleapis.com/oauth2/v1/certs
+ public_cert_url https://www.googleapis.com/oauth2/v1/certs
</Authentication::Credential::Google>