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
Benjamin KesnerBenjamin Kesner 

Login limits and named credentials

We have a Saleforce to Salesforce connection with very high volume.  With normal oauth login(password,client, client secret) we quickly overrun the 3600 login attempts in a hour limit.

To get around this with current code we cache the token returned and only refresh it when it expires.  
With named credentials, we can not get a token, and therfore can not cache it.  
Does named credentials handle this kind of situation?  or will we run into the limits again?   

Thank you
-----------------------
More detail and to pre-answer some questions. 

Can not easly test in a sandbox, the load is not there. 
Can not refactor the code beyond going to named credentials as nice as that might be.  


 
MagulanDuraipandianMagulanDuraipandian
Try to use two different user credentials as this limit cannot be increased.

--
Magulan Duraipandian
www.infallibletechie.com