Skip to content

Missing 'await' in the documentation for Authentication Flow #540

Open
@harshnambiar

Description

@harshnambiar

In the documentation, in the line:
const { accessToken, accessSecret } = connecterClient.login('<THE_OAUTH_VERIFIER>');

an await is missing. I used it as given here and the accessToken ends up being 'undefined'. Adding an await to the right hand side fixed the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions