I'm using the Salesforce iOS SDK to connect to database.com as the backend for an iOS app we are building. The problem is we need database.com access to be transparent to the user. They shouldn't know that database.com is the backend.
We need to use the old user/pass flow to login automatically in the background and are calling the SOAP API to get a session ID; however, unfortunately, when making an API call you must include a security token with your password if you are "external" to the organization. You must sign into SF.com to generate the security token. This is a no-go from within the app as ALL users will be "external" users.
We can't have them logging into SF.com to generate a token then return to the app.
Any ideas?