There was an error while loading. Please reload this page.
2 parents 551a4cb + 214d751 commit 65f4e51Copy full SHA for 65f4e51
samples/CloudIAPServiceAccount.gs
@@ -29,7 +29,7 @@ function run() {
29
headers: {
30
// As per the IAP documentation, use the id_token, not the access_token,
31
// to authorize the request.
32
- Authorization: 'Bearer ' + service.getToken().id_token
+ Authorization: 'Bearer ' + service.getIdToken()
33
}
34
});
35
var result = response.getContentText();
0 commit comments