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.

session tokens not set #24

@str

Description

@str

In the config we see:

$config = new \Upwork\API\Config(
    array(
        'consumerKey'       => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx',  // SETUP YOUR CONSUMER KEY
        'consumerSecret'    => 'xxxxxxxxxxxxx',                  // SETUP YOUR KEY SECRET
        'accessToken'       => $_SESSION['access_token'],       // got access token
        'accessSecret'      => $_SESSION['access_secret'],      // got access secret
        'requestToken'      => $_SESSION['request_token'],      // got request token
        'requestSecret'     => $_SESSION['request_secret'],     // got request secret
        'verifier'          => $_GET['oauth_verifier'],         // got oauth verifier after authorization
        'mode'              => 'web',                           // can be 'nonweb' for console apps (default),
                                                                // and 'web' for web-based apps
//  'debug' => true, // enables debug mode. Note that enabling debug in web-based applications can block redirects
//  'authType' => 'MyOAuth' // your own authentication type, see AuthTypes directory
    )
);

but $_SESSION['access_token'] nor $_SESSION['access_secret'] are set yet,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions