简体   繁体   English

外部网站的Salesforce登录身份验证

[英]Salesforce Login Authentication for External Website

We have an external application which we would like to authenticate using salesforce.com. 我们有一个外部应用程序,我们想使用salesforce.com进行身份验证。 I have read salesforce.com documentation for using OAuth but i am not clear how to implement this feature (We do not want Client to manually go and create Client key). 我已经阅读了使用OAuth的salesforce.com文档,但不清楚如何实现此功能(我们不希望Client手动创建Client key)。 Basically we want someone to access our system but login authentication will be verified by salesforce. 基本上,我们希望有人访问我们的系统,但是登录身份验证将由salesforce进行验证。 Imagine a website which authenticates by using Salesforce.com credentials. 想象一下一个使用Salesforce.com凭据进行身份验证的网站。 Any help is appreciated. 任何帮助表示赞赏。

You would setup like any other OAuth external app. 您将像其他任何OAuth外部应用一样进行设置。 Once you get an OAuth token from Salesforce, you will also receive user identifiers in the same data package. 从Salesforce获得OAuth令牌后,您还将在同一数据包中收到用户标识符。 You can then do what you want with this identifier. 然后,您可以使用此标识符执行所需的操作。

See this doc for how to setup OAuth2 authentication. 有关如何设置OAuth2身份验证的信息,请参阅此文档

Note: The client id needs to be created, but only ONCE. 注意:需要创建客户端ID,但只能创建一次。 It can be created on a developer org, and does not need to be created on every client org. 可以在开发人员组织上创建它,而不必在每个客户组织上都创建它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM