Hello, I have a question about refreshing access tokens.
Scenario: Let's say you want to authorize your app to connect to Blackbaud's sky api one time and endlessly refresh the bearer token securely in the background to call the payments api checkout endpoint.
1) After making a request to the token endpoint with the code and the grant type set to ‘authorization code’, you store the refresh token returned. 2) Then, because you don't know whether or not your access token has expired, you want to go ahead and get a fresh bearer token by calling the token endpoint again with the grant type set to “refresh_token”, “perservere_fresh_token” set to true. Is this a valid approach?
Additionally, I've noticed that it ignores the preserve_refresh_token flag. Is this because the token hasn't expired yet?