third party api access token refresh

Whats the recommended pattern for handling third-party access/refresh token expiration?

0 1 186
1 REPLY 1

When you refer to "third party tokens", I suppose you are importing them via OAuthV2/GenerateAccessToken, specifying ExternalAccessToken.

When you use OAuthV2/GenerateAccessToken with ExternalAccessToken, the token is stored into the token store managed by Apigee Edge, just as if the token were generated internally by Apigee Edge. Also, at the time you use GenerateAccessToken, you can specify the token expiry (via ExpiresIn) that Apigee Edge will enforce, just as if the token were generated by Apigee Edge natively.

Check the documentation for more information.