[英]Authenticate to JIRA with gmail in python
I am trying to authenticate to jira by google sign-in using a python script . 我试图通过谷歌登录使用python脚本验证jira。 I am using
jira python
library. 我正在使用
jira python
库。
I tried using basic_auth
but it failed with error as my account is registered through gmail. 我尝试使用
basic_auth
但由于我的帐户是通过gmail注册的,因此失败并显示错误。
jira=JIRA(options,basic_auth=(values['USERNAME'],values['PASSWORD']));
When you first logged in as a Google user to the system, you would have been prompted to create an "OnDemand" password, used for things like Subversion or authenticated RSS feed access. 当您首次以Google用户身份登录系统时,系统会提示您创建“OnDemand”密码,用于Subversion或经过身份验证的RSS Feed访问。 This is the password you will need to use when using the JIRA API.
这是使用JIRA API时需要使用的密码。
If you can't remember this password, please see: https://confluence.atlassian.com/display/AOD/Changing+Your+Password+in+Atlassian+OnDemand 如果您忘记了此密码,请参阅: https : //confluence.atlassian.com/display/AOD/Changing+Your+Password+in+Atlassian+OnDemand
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.