conflr
conflr copied to clipboard
Invalid credentials / no access with personal access token
My (employer's) confluence instance does not allow login through username/password or API token as they use OKTA. Instead, they allow creating personal access tokens (see https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html ) that do not work with conflr since authentication is implemented differently. A command like
curl -H "Authorization: Bearer <yourToken>" https://{baseUrlOfYourInstance}/rest/api/content
works with that confluence instance.