You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Salesforce proxy url is looking at element[0] or element[1] of url split by dot in order to get domain. which is not always correct. I think domain should be obtained from {!$Api.Enterprise_Server_URL_410} to make sure it is always correct and it need to be always passed. I think fixing comments will help users or we should use salesforcebase url
/**
* Set a session token and the associated metadata in the client.
* @param sessionId a salesforce.com session ID. In a Visualforce page,
* use '{!$Api.sessionId}' to obtain a session ID.
* @param [apiVersion="v29.0"] Force.com API version
* @param [instanceUrl] Omit this if running on Visualforce; otherwise
* use the value from the OAuth token.
*/
forcetk.Client.prototype.setSessionToken = function(sessionId, apiVersion, instanceUrl) {
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Salesforce proxy url is looking at element[0] or element[1] of url split by dot in order to get domain. which is not always correct. I think domain should be obtained from
{!$Api.Enterprise_Server_URL_410}
to make sure it is always correct and it need to be always passed. I think fixing comments will help users or we should use salesforcebase urlThe text was updated successfully, but these errors were encountered: