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?
Hey there 👋 Nice project! I just ran into a
missing_scopeerror 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?