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
mmolinammolina 

Connecting to force using username-password-token in iOS

Hi, I'm stating an iOS native app and I was wondering if I can connect to sforce without using the sforce log in page, instead, using the username, password and security token behind scene for making the connection.

 

 

Thanks for any help!

Tom GersicTom Gersic

Technically, yes, but if by "behind the scenes" you're talking about hard-coding the username/password/token, then that's not particularly secure. Also, if you're sharing one User account amongst multiple people, it's a violation of your SFDC license.