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
Alek MesarovichAlek Mesarovich 

authentication failure, what should I do?

I'm getting an "authentication failure" error, trying to do my very first login to SalesForce. I've read the doc N times, checked out other people's postings for the same error, still can't make it work.

Here's what I did:
1) set myself up with an intro developer account on
2) naturally, i've got admin privileges. Verified that API is enabled. Created the security token for myself and captured it.
3) set up an app:
  •  enabled OA/Auth,
  • set scope to 'Full Data Access", 
  • set the callback URL to (is this right!?
4) went to "Manage" for the App and set up "Relax IP restrictions"

fired off the standard curl that everyone else uses, get nothing but "authentication failures".

Here's the CURL I'm using:

curl -v \
-d "grant_type=password" 
-d "client_id=XXXXXXXXXXXXX" 
-d "client_secret=YYYYYYYYYYYYYY" 
-d "" 
-d "password=PWORDSECURITYTOKEN"    

What did I miss?
Srinivas SSrinivas S
For the Developer Edition URL should be

- Please mark as solution if your problem is resolved.