Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

how can we implement VerifyApiKey in request preflow?

getting error while executing the proxy with verify apikey,passed the key as both query param and

header but getting the following error.

{ 
 "fault": {
  "faultstring": "Invalid ApiKey for given resource",
  "detail": {"errorcode": "oauth.v2.InvalidApiKeyForGivenResource"}
 }
}

The policy looks like:

<VerifyAPIKey name="verifyAPIKey">
 <DisplayName>verifyAPIKey</DisplayName>
 <Properties/>
 <APIKey ref="request.queryparam.client_id"/>
</VerifyAPIKey>
1 9 441
9 REPLIES 9