Skip to content

Commit

Permalink
Merge pull request #454 from apigee/issue453
Browse files Browse the repository at this point in the history
fix: for #453
  • Loading branch information
ssvaidyanathan authored Jul 3, 2024
2 parents 2cc4d48 + 0f4d553 commit 542dbc9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/package/plugins/FE001-authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ const onTargetEndpoint = function (endpoint, cb) {
};
checkAuthElements(authNodes, addMessage, "TargetEndpoint", [
"GoogleIDToken",
"GoogleAccessToken"
"GoogleAccessToken",
"HeaderName"
]);
}
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apigeelint",
"version": "2.55.3",
"version": "2.55.4",
"description": "Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.",
"main": "index.js",
"bin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

<!-- tell Apigee to invoke this with a Google Access Token -->
<Authentication>
<HeaderName>X-Serverless-Authorization</HeaderName>
<GoogleAccessToken>
<Scopes>
<Scope>https://www.googleapis.com/auth/cloud-platform</Scope>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

<!-- multiple token elements -->
<Authentication>
<HeaderName>X-Serverless-Authorization</HeaderName>
<GoogleAccessToken>
<Scopes>
<Scope>SCOPE</Scope>
Expand Down

0 comments on commit 542dbc9

Please sign in to comment.