File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ Function _getToken_SignedIn($bUseRefreshToken : Boolean) : Object
498498
499499 var $bUseHostDatabaseServer : Boolean:= False
500500 var $hostDatabaseServer : Object:= WEB Server (Web server host database)
501- If (($hostDatabaseServer# Null)&& $hostDatabaseServer .isRunning )
501+ If (($hostDatabaseServer# Null) && $hostDatabaseServer .isRunning )
502502 If ($options .useTLS )
503503 $bUseHostDatabaseServer := ($hostDatabaseServer .HTTPSEnabled && ($hostDatabaseServer .HTTPSPort = $options .port ))
504504 Else
@@ -714,6 +714,13 @@ Function _sendTokenRequest($params : Text) : Object
714714
715715 End case
716716
717+ // If we already had a refresh token, we need to add it to result object in case it was not present in the response
718+ If (Value type ($result .token .refresh_token )= Is undefined)
719+ If (OB Is defined (This .token ; "refresh_token" ) && (Length (String (This .token .refresh_token ))> 0))
720+ $result .token .refresh_token := This .token .refresh_token
721+ End if
722+ End if
723+
717724 Else
718725
719726 If (cs .Tools .me .webLicenseAvailable )
You can’t perform that action at this time.
0 commit comments