Skip to content

Prevent API scope error#13

Description

@kilianso

Hey there 馃憢 Nice project! I just ran into a missing_scope error and after some research, I read that OpenAI automatically changes API keys when they detect access from external domains.

Same has been reported on the Node project.
ezzcodeezzlife/dalle-node#13

However, changing the token manually is of course a solution but i was wondering if there's a way to automate it. In a production app, we would need a way to retrieve and renew it programmatically. Any ideas?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions