Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Getting undefined calling auth.getAccessToken()Β #2

@windmemory

Description

@windmemory

My code is exactly the same as the example

import Authenticator from 'openai-token'

const auth = new Authenticator('valid-email', 'valid-password')
await auth.begin()
const token = await auth.getAccessToken()
console.log(token)

There is no any error thrown in the console, I just got undefined in the output.
Is there anything I need to add here to make it work?

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