ServiceNow OAuth 端点的 URL 不需要“实例 ID”?

问题描述 投票:0回答:1

问题:ServiceNow 是否提供另一种 OAuth 方法,在其 OAuth 端点 URL 中不需要 [[Instance ID]]?

我需要帮助将 ServiceNow 的 OAuth 集成到我的服务中,因为它要求在 OAuth 端点 URL 中包含 [[实例 ID]]。

由于这种复杂性,我

无法部署可由多个 ServiceNow 客户端访问的 ServiceNow 集成解决方案,而不知道他们的 [[实例 ID]] 来事先执行 OAuth

详情:

ServiceNow 和 SalesForce 仅提供对其 [[实例 ID]] 标识的单个实例的 OAuth 访问。

立即服务

OAuth 2.0 端点 URL 是
    可变
  • 并且需要 ServiceNow [[实例 ID]],这对于任何多功能集成工作来说都极其不方便。 OAuth 访问响应:access_token、refresh_token、范围
  • 端点 URL:

    https://**[[Instance ID]]**.service-now.com/oauth_auth.do
  • https://**[[Instance ID]]**.service-now.com/oauth_token.do
  • 
    
Salesforce

OAuth 2.0 端点是
    静态
  • 。不需要 Salesforce [[实例 ID]]。 OAuth 访问响应:access_token、refresh_token、scope、
  • instance_url
  • (示例“https://[[Instance ID]].salesforce.com/”)
  • 端点 URL:

    https://login.salesforce.com/services/oauth2/authorize
  • https://login.salesforce.com/services/oauth2/token
  • 
    
  • 参考资料:

    ServiceNow REST API:OAuth 授权代码授予流程
  • ServiceNow 社区:不需要“实例 ID”?
  • SalesForce:OAuth 端点
  • SalesForce:用于 Web 应用程序集成的 OAuth 2.0 Web 服务器流程
oauth-2.0 servicenow servicenow-rest-api
1个回答
0
投票

参考资料:

    https://www.servicenow.com/community/developer-forum/how-to-get-access-token-with-other-instance-client-id-and-client/m-p/2247586
  • https:// Fivetran.com/docs/applications/servicenow/setup-guide
  • https://docs-eam.leanix.net/docs/setup-in-servicenow
  • https://help.tableau.com/current/online/en-us/protected_auth.htm
© www.soinside.com 2019 - 2024. All rights reserved.