Google's geocoding API with a service account











up vote
0
down vote

favorite












I wanted to make requests to Google's geocoding API using a service account authentication/authorization instead of the regular API key. However I found no example of such implementation or any indication that it is even possible. I also didn't find anything saying it is not, therefore this question: does anyone know if it's possible and how to do it?



My last attempt ended up with this error:




{
"error": "invalid_scope",
"error_description": "Empty or missing scope not allowed."
}



which makes sense, since I could not find the right scope.










share|improve this question






















  • As far as I know Google Maps web services don't support authentication with service accounts. The only supported methods are API keys or client ID with digital signature in Premium plan.
    – xomena
    Nov 10 at 1:03















up vote
0
down vote

favorite












I wanted to make requests to Google's geocoding API using a service account authentication/authorization instead of the regular API key. However I found no example of such implementation or any indication that it is even possible. I also didn't find anything saying it is not, therefore this question: does anyone know if it's possible and how to do it?



My last attempt ended up with this error:




{
"error": "invalid_scope",
"error_description": "Empty or missing scope not allowed."
}



which makes sense, since I could not find the right scope.










share|improve this question






















  • As far as I know Google Maps web services don't support authentication with service accounts. The only supported methods are API keys or client ID with digital signature in Premium plan.
    – xomena
    Nov 10 at 1:03













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I wanted to make requests to Google's geocoding API using a service account authentication/authorization instead of the regular API key. However I found no example of such implementation or any indication that it is even possible. I also didn't find anything saying it is not, therefore this question: does anyone know if it's possible and how to do it?



My last attempt ended up with this error:




{
"error": "invalid_scope",
"error_description": "Empty or missing scope not allowed."
}



which makes sense, since I could not find the right scope.










share|improve this question













I wanted to make requests to Google's geocoding API using a service account authentication/authorization instead of the regular API key. However I found no example of such implementation or any indication that it is even possible. I also didn't find anything saying it is not, therefore this question: does anyone know if it's possible and how to do it?



My last attempt ended up with this error:




{
"error": "invalid_scope",
"error_description": "Empty or missing scope not allowed."
}



which makes sense, since I could not find the right scope.







google-maps google-maps-api-3 service-accounts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 9 at 14:44









guessimtoolate

6,19811120




6,19811120












  • As far as I know Google Maps web services don't support authentication with service accounts. The only supported methods are API keys or client ID with digital signature in Premium plan.
    – xomena
    Nov 10 at 1:03


















  • As far as I know Google Maps web services don't support authentication with service accounts. The only supported methods are API keys or client ID with digital signature in Premium plan.
    – xomena
    Nov 10 at 1:03
















As far as I know Google Maps web services don't support authentication with service accounts. The only supported methods are API keys or client ID with digital signature in Premium plan.
– xomena
Nov 10 at 1:03




As far as I know Google Maps web services don't support authentication with service accounts. The only supported methods are API keys or client ID with digital signature in Premium plan.
– xomena
Nov 10 at 1:03

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53227942%2fgoogles-geocoding-api-with-a-service-account%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53227942%2fgoogles-geocoding-api-with-a-service-account%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Schultheiß

Liste der Kulturdenkmale in Wilsdruff

Android Play Services Check