在salesforce中如何获取Security Token

之前使用DE版本的salesforce开发环境设置Security环境挺简单的,后来当第一次使用sandbox正式上项目的时候,按照以往的做法,竟然没找到重置Token的地方[2021-03-08回顾 - 在my setting里面搜素reset没找着是因为system admin profile的ip设定为0.0.0.0 - 255.255.255.255,如果移除就可以增强ip restriction,然后通过security token来提供授信],现在提供一个简单粗暴的方式,快速定位到重置Token的位置:“https://[SalesforceDomainHere]/_ui/system/security/ResetApiTokenEdit?retURL=%2Fui%2Fsetup%2FSetup%3Fsetupid%3DPersonalInfo&setupid=ResetApiToken

在网上找了一篇关于What is security token的博客,写的很精彩:http://www.cloudsuccess.com/blog/what-is-the-salesforce-security-token/

大致讲了以下几点内容:

1、what is the security token?

2、what does the security token do?

3、how do I use my security token?

4、how to reset a security token?

补充:

1、使用Sublime Text开发(下载/上传Code)Salesforce应用程序时,针对Sandbox环境即通过test.salesforce.com登录进来的,security_token并不是必需的;但针对Production环境即通过login.salesforce.com进来的,下载/上传Code,需要security_token;
2、经比较在试用版本的DE Production环境在设置里面有“重置设置我的安全标志”,而在企业级开发的正式环境并不可见;
3、很多时候试用工具访问salesforce时密码部分并不是单纯的密码,还需要拼接security_token;
4、在使用SoapUI时候,trailhead中提到一点:
Since you’re making an API request from an IP address unknown to Salesforce, you need to append your security token to the end of your password.
由此可知,如果我们将user所在的profile的IP地址范围设置为0.0.0.0 - 255.255.255.255就不需要考虑token了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值