Regarding creating an API token, is there any way to create an API token for a self-hosted (server) Confluence installation?
The need is to connect Zapier to Confluence, which requires this.
Zapier's documention states: "Confluence Cloud and Server 5.5+ are supported."
Hi Michael,
Generating a token is only supported in the Cloud API.
Using Server you will need to authenticate. Have a look at Confluence Server REST API for more details.
Regards,
Shannon
Thanks Shannon - But I do not see any information about authenticating on the link you sent. Where might I see those details?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
REST API Examples on the left-hand side does show some examples, but have a look here as well:
You can authenticate yourself for the REST APIs in two ways:
Log in to Confluence manually. You will then be authenticated for the REST APIs for that same browser session.
Use HTTP basic authentication (Authorization HTTP header) containing ‘Basic username:password
’. Please note however,username:password
must be base64 encoded. The URL must also contain the ‘os_authType=basic
’ query parameter.
Let me know if you have any questions.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Five years later, this summer our username+password authentication stopped working, we have an on-prem installation of Atlassian Confluence, and found this article:
https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/
I understand this as we would not be affected??? Still we cannot authenticate anymore with either user+password or with user+accesstoken and all the required magic wand stuff.
For the following APIs and pages, all requests using basic authentication with a non-API token credential will return 401 (Unauthorized) after the deprecation period:
How are we supposed to mainatain our REST API integrations?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
this may be too old now for you to benefit - however it may still be worth for someone who stumbles across this topic.
We have released a 3rd party App that implements the API Token Concept in Confluence & Jira.
It's available for both Server & Data-Center. It also has some additional security features (blocking normal basic auth, IP address restrictions, etc) that some people may find interesting.
Cheers,
Chris
P.S. Full disclosure, I work for resolution, a marketplace vendor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.