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
WEN JIEWEN JIE 

IP whitelist and security_token

Hi,

 

I have a question about IP whitelist.

I have use OAuthe 2.0 Username-Password Flow to access salesforce, and with this flow I need to use the security_token in my request like "password=mypassword+security_token".

So I want to know if I add my IP or my organization in the whitelist (Newwork Access), whether I can avoid to use the security_token.

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
ShaTShaT

hi,

 

Yes,you can avoid security token when you whitelist your ip. But your ip should be static ip.

 

Thanks

Shailu

All Answers

ShaTShaT

hi,

 

Yes,you can avoid security token when you whitelist your ip. But your ip should be static ip.

 

Thanks

Shailu

This was selected as the best answer
AvinashMunagaAvinashMunaga

IP whitelist is for the logging user or the IP of the host server?