markdown-confluence / markdown-confluence

Publish your Markdown Files to Confluence
https://markdown-confluence.com
Apache License 2.0
153 stars 39 forks source link

Authorization: Basic should be exchanged with Authorization: Bearer #536

Open DataWi opened 11 months ago

DataWi commented 11 months ago

Title says it all, when trying to authenticate with my token I get 401 - which also does not work in the command prompt with a basic auth header.

However, using the API Access Token works fine and it would be nice if the Plugin would support that as well. Example: curl -H "Authorization: Bearer " works fine.

andymac4182 commented 11 months ago

Are you connecting to a cloud instance or on premises instance?

Tointoin commented 11 months ago

I've got the same issue, I get 401 with the GHA but curl -H "Authorization: Bearer " works fine. I've got an on premise instance of Confluence.

Is it compatible?

andymac4182 commented 11 months ago

Currently no this tool is designed for Cloud instances. ADF the format I use for documents isn't supported for On-premise instances.

I have some long leave coming up early next year where I plan on giving this a go to implement.