• Website Admin
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I have Salesforce enterprise and would like to automate some functionality of pushing data from our main system into salesforce.  The issue I’m running into is getting an auth token.  I can follow the pattern with a browser and it works as expected.  The issue is that I don’t want to use a browser.  I want my Java server to make an http call and get a call back with the token.  The reason it does not work is that salesforce uses javascript redirects and cookies instead of 301 and http redirects.  

I’ve seen some mention of getting a session token and then performing the operation but that will not work due to the lack of a javascript engine in my http client.  Are there any alternatives in getting this to work?
I have Salesforce enterprise and would like to automate some functionality of pushing data from our main system into salesforce.  The issue I’m running into is getting an auth token.  I can follow the pattern with a browser and it works as expected.  The issue is that I don’t want to use a browser.  I want my Java server to make an http call and get a call back with the token.  The reason it does not work is that salesforce uses javascript redirects and cookies instead of 301 and http redirects.  

I’ve seen some mention of getting a session token and then performing the operation but that will not work due to the lack of a javascript engine in my http client.  Are there any alternatives in getting this to work?