Hello. Anybody can tell me why, after the login via the web part, my API refresh_token becomes invalid?
This issue generally occurs when your API token call has a 'platform' parameter that is used in Sugar by default, such as "base". This is explained a bit more in-depth (and frankly, better than I could!) at the following page in our Developer Guide: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.8/Integration/Web_Services/v10/#Avoiding_Login_Conflicts
Regards,Patrick SullivanSugarCRM Support
Hi Vladimir Tykvach,
As Patrick Sullivan has said, the problem comes when you obtain your token from the /oauth2/token call using a bad platform. Personally I always send the parameter platform : api whenever I call the API to get the token.
The platform values "base", "portal" and "mobile" are reserved for the appropriate applications. So if you use platform = base you will be kicked out the desktop application.
If you use the same platform names in different API Interfaces the same can happen. So use own platform names like "vladimir1", "vladimir2" a.s.o. for each of your Interfaces.
Retrieving data ...