I am trying to authenticate to jira by google sign-in using a python script . I am using jira python library.
I tried using basic_auth but it failed with error as my account is registered through 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. This is the password you will need to use when using the JIRA API.
If you can't remember this password, please see: https://confluence.atlassian.com/display/AOD/Changing+Your+Password+in+Atlassian+OnDemand
Source
Related
I currently have a script in python using shareplum library which connects to our sharepoint to upload a specific file periodically. Currenly it's authenticating via an app password.
Recently I just saw this Microsoft notice that they will disable basic authentication including app passwords and they will be forcing MFA from 03/31/2023.
I've been looking for alternatives to keep using this kind of automated scripts to work with sharepoint files but I couldn't find anything...
What do you suggest?
When I manually run a python script to connect to Jira I have no issues just passing my username and API token, however when I run via Cron I get an error stating
response text = Basic authentication with passwords is deprecated.
I have tried to encode the tuple of username and API token in base64, however this still doesn't seem to work. Has anyone gotten basic authentication to work to Jira Cloud via Cron?
I would like to create a Python script to retrieve lists from Sharepoint Online and potentially update them. I can do all of this from the browser just fine. However, I'm having a hard time connecting to Sharepoint using the Requests module. When I navigate to https://mysharepoint.sharepoint.com, I get redirected to the https://login.microsoftonline.com to log in through my account. The login mechanism also requires two-factor authentication.
I'm not sure whether there's a way I could log in using Python at all at this point. Most of the packages I've tried have not been able to authenticate my user.
Can I use firebase with python to do user account creation and logging in and out?
or any other recommendations? I've read but seems like it only uses nodejs
There is an Admin SDK for Python for certain Firebase products, including Firebase Authentication.
The Admin SDK for Firebase is meant to run on servers and in other trusted environments. This means that a process using the Admin SDK has administrative access to all Firebase services. This for example allows you to easily create a new user account with the Python SDK.
But that also means that the Python SDK cannot be used to sign in with Firebase Authentication: after all, the process already runs with administrative privileges.
If you want to use the Python SDK to verify users, you should have the users sign in on the client with one of the regular Firebase Authentication SDKs. Then send the ID token from the client to your server, and use the Python SDK to verify that token.
Is that possible to use python-jira using google account to sign in?
Maybe any workaround for that cause people in our company don't have jira accounts they use google
Once JIRA has been configured to use Google Apps as a user directory, you can authenticate using a Google account, but only the Google Apps account not just any Google account. jira-python will authenticate using the same set of users.