Hi,
I'm trying to add refresh tokens capability on my application and the refresh token is always 'null' with option of withShouldRefreshAccessToken either false or true on ApiClient.Builder.
Below is always my print line:
Authentication successful. Access token expires in 86399 seconds
Authentication successful. Access refresh token null
That is, it gives out NPE at cron job every time I invoked below:
this.apiClient.refreshCodeAuthorization(CLIENT_ID,CLIENT_SECRET, this.refreshToken)
Would it be possible to help me on this one? Or do I need to lower the version of the sdk?