Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants