You need to sign in to do that
Don't have an account?
Hiren
Generate Session ID
So, We have a secure call out happening with the client's server. Following that they have seperate webservice that will talk back to SF to fetch the data (to overcome 3MB governer limit). Basically I want to generate the session ID and give it to them (in this secure channel) so that they dont need to do do authentication again.
Ref: http://www.salesforce.com/us/developer/docs/api_rest/Content/quickstart_oauth.htm
Possible? How to do this?
Try having the client log in through OAuth, obtain a refresh token, and store it locally on their end. The refresh token can provide them with a new session id every time they need a new one in the future.
http://na12.salesforce.com/help/doc/en/remoteaccess_oauth_refresh_token_flow.htm
So, they will have to login atleast once right? Is there a way out? say providing a temporary access_token or something thats valid only to access a particular file/attachment.