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

​How to allow resource path if there are query params in the request?

So I have this very long [GET] request which is the ff. below

https://<host>.test-account-service/authorize?client_id=<client_id>&response_type=code&redirect_uri=...
4&UserId=ApigeeEdge123&ExitUrl=https://www.youtube.com 

When accessing this via

https://<host>.test-account-service/authorize. 

I'm getting a response that its missing the proper query params. But when I add a query param alright, apigee throws an error of

oauth.v2.InvalidApiKeyForGivenResource

I already have the following resource paths in my Product..

/test-account-service/authorize 
/test-account-service/authorize?* 
/test-account-service/authorize* 
/test-account-service/authorize/ 

None of those resource paths worked.

/test-account-service/authorize BTW is my basepath.

And I also have /test-account-service/user/authorize. Which I won't allow access to for that product.

0 2 467
2 REPLIES 2