ClearTax / jira-lint

A light-weight lint workflow when using GitHub along with JIRA for project management
MIT License
58 stars 60 forks source link

Getting Unauthorized Error #62

Open idanl21 opened 2 years ago

idanl21 commented 2 years ago

Hey all! I'm using that action on my workflow, it already working but I want to change the API_KEY that I'm using. I'm creating the KEY from the same user that working, encoding it properly echo "integration@XXX.com:uoDllaxhXXXXXX0sf2f9D13" | base64 but I'm getting an Unauthorized Error : }, response: { status: 401, statusText: 'Unauthorized', headers: [Object], config: [Object], request: [ClientRequest], data: 'Basic authentication with passwords is deprecated. For more information, see: [https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/\n](https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth//n)' },

Is someone maybe familiar with a solution?

kebroderick commented 1 year ago

Can you encode like the example in this doc, i.e. without the double quotes? Do you have the option of using the powershell example?

https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/