Skip to content

Authenticating with App Password on public bitbucket. #153

@Skarlso

Description

@Skarlso

Hi.

I'm trying to authenticate like this on the public bitbucket site:

        username = os.environ['CRONOHUB_BITBUCKET_USERNAME']
        password = os.environ['CRONOHUB_BITBUCKET_PASSWORD']
        url = os.environ['CRONOHUB_BITBUCKET_URL']
        bitbucket = Bitbucket(
                url=url,
                username=username,
                password=password)
        data = bitbucket.project_list()

where username is my username, the password is an App password that I generated ( I don't have a password since I created my account via Google Oauth ) and url is https://bitbucket.org.

All I get back is this:

b''
HTTP Error occurred
Response is: b''
Expecting value: line 1 column 1 (char 0)

Which tells me nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions