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

Storing an external OAuth2 token fails in APIGEE EDGE(even after setting "Store token=true" in OAuth2 Policy)

Not applicable

I am using an external OAuth2 provider to fetch the token and then store it in APIGEE Edge by doing a <StoreToken>true</StoreToken> in OAuthV2 policy. I later use this stored token for Auth; however, the externally obtained token is not getting stored successfully. I tried to GET the list of Access tokens for a specific app using APIGEE Mgmt API to delete the access tokens (just in case the token storage/db is full whih is a wild guess) but I get this error "{ "code": "keymanagement.service.UnsupportedOperation", "message": "Unsupported Operation", "contexts": [] }". Any clue why the tokens are not getting stored? Note: Previously the tokens were getting stored and the access tokens were getting validated in Edge successfully, in recent times the external access tokens have started failing to get stored in APIGEE.

Also, if I want to delete some of the old access tokens, how can I do that ?

0 2 368
2 REPLIES 2
Top Solution Authors