Developer

(Deprecated Topic) Enabling OAuth Authentication for Offline Applications

Context

Procedure

Add the refreshOAUTHSessionOnResume parameter to the registration context, and set it to skip. For example:
var context = {    
     "serverHost" : "192.168.254.159",
     "serverPort" : "8080",    
     "https": "true",
     "passcode": "Password1",
     "passcode_CONFIRM": "Password1",
     "unlockPasscode": "Password1",
     "refreshOAUTHSessionOnResume":"skip",    
  
     "resourcePath": "Enter URL suffix",    
     "farmId": "Enter name of company id",   
};