Skip to content
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

Current User not permitted to use confluence #493

Open
KeithETruesdell opened this issue Aug 23, 2024 · 2 comments
Open

Current User not permitted to use confluence #493

KeithETruesdell opened this issue Aug 23, 2024 · 2 comments
Labels

Comments

@KeithETruesdell
Copy link

What happened?

A clear and concise description of what the bug is.
I am running the command

mark -u <my username> -p <my password or key> -b <my hosted server>/wiki -f test.md --trace

And i am getting an error.

Report-To: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net/"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
                              Server: AtlassianEdge
                              Strict-Transport-Security: max-age=630[72](xxxxxxxx)000; includeSubDomains; preload
                              Vary: Accept-Encoding
                              Warning: 299 - "Deprecated API, will be removed on Mon, 2 Dec 2024 00:00:00 GMT"
                              X-Content-Type-Options: nosniff
                              X-Xss-Protection: 1; mode=block
                              
                              {"message":"Current user not permitted to use Confluence","statusCode":403}
2024-08-23 16:50:50.182 FATAL unable to resolve page
                              └─ error while finding page "Test"
                                 ├─ Confluence API returned unexpected status: 403 Forbidden, output: "{\"message\":\"Current user not permitted to use Confluence\",\"statusCode\":403}"
                                 └─ title: Qos-Test

I am able to log into my companies Jira and Confluence, and I am able make posts and update them, manually. The username and password are the same, via cli or when i manually login.

What did you expect to happen?

I expect that to be updated or created.

How can we reproduce the behavior you experienced?

Steps to reproduce the behavior:

  1. Step 1
    run the mark command stated above...

In case this is related to specific markdown, please provide a minimal markdown example here.

Further Information (please complete the following information)

  • Mark Version (mark --version): [e.g. v9.1.4]
    10.0.1

  • Mark Parameters: [e.g. --drop-h1 --title-from-h1]
    --trace, -f (with the file name), -b (with the server url and /wiki at the end), -u and -p for my username and password

  • Confluence Hosting: [e.g. Cloud, Server or Datacenter]
    cloud

  • Confluence Version: [e.g. v7.13]
    Confluence 1000.0.0-c4fd8688f220 ? I am not sure how to find this but this is from the "about" section

  • Environment specific Information: [e.g. running in Github Actions, or on Mac OS X, etc.]
    I get this via MacOSX or running via Gitlab pipelines.
    We have a vpn, which I am logged in, but I don't need to be on the VPN to get to my confluence.

Logs or other output

Please provide logs, other kind of output here.

Additional context

Add any other context about the problem here.

@KeithETruesdell
Copy link
Author

is there an issue with being behind a firewall, or different methods of authentication / logins?

@mrueg
Copy link
Collaborator

mrueg commented Sep 9, 2024

Instead of using the password, you might need to create an API Token https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html can you try with this and see if it's working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants