For token refresh I\'m using Get Call Rest Api:
final queryParameters = { \'username\': \'XXXX\', \'password\': \'XXXXX\', \'grant_type\': \'password\