Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Unauthorized Error #62

Open
idanl21 opened this issue Sep 12, 2022 · 1 comment
Open

Getting Unauthorized Error #62

idanl21 opened this issue Sep 12, 2022 · 1 comment

Comments

@idanl21
Copy link

idanl21 commented Sep 12, 2022

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 "[email protected]: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
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants