X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstemmaweb%2FAuthentication%2FCredential%2FGoogle.pm;h=07a3c5ffb1fc49c4d8a9ba71fd7ccbe60ef1700b;hb=fad4df2573e1f42fc93308a05564679b43541d6f;hp=20afff89d87357c5aba43cf7f4aa9db0cfc5cc86;hpb=83ed666569d439bcb163fa96cee456c17c82e823;p=scpubgit%2Fstemmaweb.git diff --git a/lib/stemmaweb/Authentication/Credential/Google.pm b/lib/stemmaweb/Authentication/Credential/Google.pm index 20afff8..07a3c5f 100644 --- a/lib/stemmaweb/Authentication/Credential/Google.pm +++ b/lib/stemmaweb/Authentication/Credential/Google.pm @@ -90,7 +90,7 @@ Decoded JSON object containing certificates. sub retrieve_certs { my ($self, $url) = @_; - $url ||= 'https://www.googleapis.com/oauth2/v1/certs'; + $url ||= ( $self->{_app}->config->{'Authentication::Credential::Google'}->{url} || 'https://www.googleapis.com/oauth2/v1/certs' ); return decode_json(get($url)); }