I would like to obtain a Refresh Token during authentication.
Your docs for TsgcHTTP_OAuth2_Client state that if an Authroization Type of auth2Code is used, an access token and a refresh token will be returned upon authorization. Is this true? When I examine the Refresh_Token parameter of OnAfterAccessToken it is always an empty string, at least for Dropbox.
So far, I have found that OnAfterRefreshToken is not triggered as a result of calling TsgcHTTP_OAuth2_Client.Start. In OnAfterRefreshToken, if I add a call to TsgcHTTP_OAuth2_Client.Refresh passing either the empty Refresh_Token parameter or '""' the result is a 400 Bad Request error.
Is there a way to get a Refresh Token?