def authorize():
    service = get_oauth_service()        
    request_token, request_token_secret = service.get_request_token()
    subprocess.call(['open', service.get_authorize_url(request_token,**constants.AUTHORIZE_DATA)])
    return (request_token, request_token_secret)
obtain and return the request token, and send user to the oauth autorization url in their browser
dataset/ETHPy150Open pilotmoon/PopClip-Extensions/source/Trello/auth.py/authorize