[BUG OAUTH] Plugin erroring on authenticating users

Our oauth authentication was working without incident over the past few weeks, today, when we try to redirect back to chatgpt for our oauth, it shows the following message:


checking our logs, it looks like the callback from chatgpt never happens… anyone else seeing this error?

@logankilpatrick

I guess you’re facing the same issue that I described and solved here: [BUG OAUTH] - Missing state parameters in dev mode only since yesterday - #2 by kevinpiac

Hope it helps :slight_smile:

1 Like

Thanks @kevinpiac, this new requirement as of 7/12/23 should be called out. If the redirect to chatgpt

https://chat.openai.com/aip/<plugin-id>/oauth/callback?client_id=<client-id>&response_type=code&code=<client-generated-code>&state=<from-chatgpt-initial-call>

does not include state oauth callback from chatgpt is never triggered – applies to plugin development, unsure if this behavior is also enabled in prod.