Skip to content

feat: add basic authentication #6

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

Closed
wants to merge 1 commit into from
Closed

Conversation

jludwig
Copy link

@jludwig jludwig commented Aug 31, 2022

What

This pull request allows one to authenticate via basic auth, like so:

$client = new ConfluenceClient('https://example.atlassian.net'); $client->authenticateBasicAuth('example@example.com', 'password');

Why

Some Confluence instances do not allow users to create API tokens. Adding basic authentication allows users that can't (or prefer not to) use API tokens to use this PHP client.

@astepin
Copy link
Contributor

astepin commented Feb 25, 2023

Thank you for your changes. I am preparing a change where you can use BasicAuth via the address (https://myuser:passwordhere@example.atlassian.net)
This is already included in main. I will make a new release soon.

@astepin astepin closed this Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants