laptop and a wrench

漏洞

In ArcGIS API for Python, using the username and password parameters in the OAuth 2.0 authentication function returns the error: "UnboundLocalError: local variable 'oauth_info' referenced before assignment."

上次发布: June 24, 2020 ArcGIS API for Python
漏洞 ID 编号 BUG-000127381
已提交December 13, 2019
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本1.7.0
操作系统Windows OS
操作系统版本10.0
状态Non-Reproducible

附加信息

This issue with authentication was fixed in the ArcGIS API for Python 1.8.0 release.

解决办法

Manually use the workflow listed in the first cell of the documentation, User authentication with OAuth 2.0.

重现步骤

漏洞 ID: BUG-000127381

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项