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

Integrating SFDC in iOS.

Hello friends,


Iam integrating SFDC in iOS using REST API.App  working well.

but sometimes iam getting SFDC webpage after logging. I dont know the exact reason for this..


Can anybody Please help me..why it webpage is dispalying and and how to over come this.

Tom GersicTom Gersic

I've seen that happen before, but not for a long time. Do you ever have it happen on first login after installing the app, or is it always after subsequent logins?


Hi Tom

Thank you for replying...


I got the reason.

 i have set the session time out 15 mins in SFDC Account.

so after logging user he will get the web page to allow permission.


then if we kept device idle more than 15 mins(session time out)..

session will be time out..after session time if we press allow button then iam getting sfdc login webpage..

after entering credential iam getting my SFDC account webpage is opening.



How can i rsolve this?

Tom GersicTom Gersic

OAuth Refresh Token Flow. Described in some detail here:


It's implemented in the Mobile SDK for you, if you're using that it should be happening automagically.