With OAuth2 authentication, you receive an access token and a refresh token. I know the access token is valid for an hour and after it expires you use the refresh token to obtain a new access token. How long is a refresh token valid for before it is no longer valid?
I ask because per this article (https://community.canvaslms.com/t5/Canvas-Developers-Group/Working-with-Refresh-Tokens/m-p/84667#M1383) refresh tokens are permanent unless you go through the OAuth2 process again. However, I am running in to an error that seems to indicate that isn't the case. I haven't nailed down an exact timeframe but it seems to be about 24 hours after running through the initial OAuth2 process.
Error message: {"error":"invalid_grant","error_description":"refresh_token not found"}