oAuth Code - Does This Require Refreshing?


#1

Sorry if this is in the docs and I am just missing it, but once you authorize the app and get the code from your redirect URI, is the expectation that this has to happen again? The access token appears to expire, but then what? Do I have to go through reauthorizing to get a new code then reauthenticating to get a new access token each time? Or can I refresh my token indefinitely without having to acquire a new code?


#2

Hi Alex, 

You shouldn’t have to get the code. Once the access token expires you should use your refresh token which has an expire time of 30 days. If you need to make additional calls after the token expires you will need to refresh your original token. 

See the Notes section in this article - https://developer.zoom.us/docs/oauth/