【发布时间】:2018-04-10 16:02:18
【问题描述】:
我想在 Mule RESTful 流程中使用 OAuth 1.1
我一直在阅读以下网站:
http://www.mulesoft.org/documentation/display/current/Using+a+Connector+to+Access+an+OAuth+API
本文档声明如下:
There are currently two versions of OAuth that are generally n
use: OAuth1 and OAuth2. This document explains the process for
working with OAuth2. OAuth1 implementation details vary from
connector to connector, so please review the connector's
specific documentation if you need to consume OAuth1.
所以我找到了这个网站:
http://www.mulesoft.org/documentation-3.2/display/32X/Authorizing+your+Connector+with+OAuth+1.0a
其中描述了如何使用 Mule ESB 支持 OAuth 1
我的基本理解是 OAuth 1 更简单,更受欢迎(尤其是在移动设备使用中)
...而且 OAuth 2 更复杂,使用频率更低
我注意到 OAuth 2 是由 SalesForce 连接器提供的
我的问题:
一般来说哪种协议使用更广泛,以及 在 Mule 社区中哪个更常用
在 Mule 中更难执行
(我需要这些问题的答案才能获得对一种或另一种协议方向的批准)
【问题讨论】: