Take the tour ×  Hey guys I had a dream last night about a huge
issue in our ability to aggregate data.  After setting up a
remote app, using PHP to "CURL" into login.salesforce.com for
authorization, we hit the Username/Password sequence. I see that
this actuates frontdoor.jsp which in tern passes you to where
you need to be (as long as app is accepted).  The question is
how to POST through frontdoor.jsp so we will not have to
manually enter a user/pass ?  I found THIS method, using
http://login.salesforce.com?un=user@client.com&pw=xxxxxxxx which
works, but in order to use it, I will need to return to my
script....  Without using CURL, and trying to access via   give
me the response error:    <error_description>grant type not
supported</error_description>  POST packet looks like this.
client_id       3MVG9A2kN3Bn17hv5JnQay9VirDF4FfYeGdVnwT0fP1AtVJo
j3upT9ce7epjSmZPXsSkeX.o74fJ39Q.g9kv_ pw
xxxxxxxxxxxxxx redirect_uri    https://sm-rdc-c-
dev.foo.com/OAuthCallback.php response_type   code un