Skip to content

[confluence] documentation of token authentication #1288

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

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Or reuse cookie file:
cookies=cookie_dict)

Or using Personal Access Token
Note: this method is valid for Jira Data center / server editions only! For Jira cloud, see below.
Note: this method is valid for Jira and Confluence (<7.9) Data center / server editions only! For Jira cloud, see below.

First, create your access token (check https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html for details)
Then, just provide the token to the constructor:
Expand All @@ -173,6 +173,11 @@ Then, just provide the token to the constructor:
token=jira_access_token
)

confluence = Confluence(
url='https://your-confluence-instance.company.com',
token=confluence_access_token
)

To authenticate to the Atlassian Cloud APIs Jira, Confluence, ServiceDesk:

.. code-block:: python
Expand Down