function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
San IndiaSan India 

Connected App Integration asking login every time issue

Hi All,

I have used REST API with cURL to insrert Accounts in Salesforce using PHP, for that i have created one Salesforce Connected App with oAuth and used Consumer Key and Consumer Secret to connect, But when i try to insert record from PHP , Every time redirecting to salesforce Login page after successfull login records are inserting into Salesforce

oAuth with coneceted App evrytime forcing to login

If end user knows the Salesforce credentials he can directly login into salesforce and insert Account record what is the use of Integration

Please help me on this , How can i connect Salesforce without login page and directly insert records
Did you whitelist the IP address?
Once you login, you should be able to use the token for more services
have you sorted this out?