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
tggagnetggagne 

How can a community user login via API?

Our client has an application hosted on their own webserver.  That application's users need to login to Salesforce via the API (not a web page) as community users.  Is this possible?

I've gotten delegated authentication working, so community users can login via a page and the application servers authenticates them, but I can't login those same users via the API.  I've tried all number of endpoints without success, using https://domain/services/oauth2/token.  I can get it working for normal users, but not community users.

I'd prefer REST, but will settle for SOAP if necessary.
RamuRamu (Salesforce Developers) 
The below post might answer your question

http://salesforce.stackexchange.com/questions/16316/using-salesforce-partner-api-from-community-portal