Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

get_authorize_url() trouble #32

@brendancol

Description

@brendancol

During the initial oauth dance, I'm experience the following trouble (Python3) (python-upwork=1.3)

The code snippet below is returning a auth_url without an oauth_token url parameter

Code

client = upwork.Client(PUBLIC_KEY, SECRET_KEY)
auth_url = client.auth.get_authorize_url()
webbrowser.open(url=auth_url, autoraise=True, new=2)
print('Go to the mentioned URL : {}'.format(auth_url))
verifier = input('Enter Verifier: ')

Result

print(auth_url)
>>> https://....?**oauth_token=None**

My upwork app key has freelancer search / public profiles permission and ENABLED status.

Any idea whats going on here? I just looking to be able to do freelance queries.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions