Skip to main content
ArcBlock Community

Login with Google on ChatGPT Fails with “invalid_state” Error

Marlong
Support
arcspherebugwont-fix

When attempting to log in to ChatGPT using the Continue with Google option on the ArcSphere browser, the authentication process fails and displays the following error:

When attempting to log in to ChatGPT using the Continue with Google option on the ArcSphere browser, the authentication process fails and displays the following error:

javascript
Oops, an error occurred!
Route Error (409): {
 "error": {
   "message": "Invalid client. Please start over.",
   "type": "invalid_request_error",
   "code": "invalid_state"
 }
}

This issue only occurs on ArcSphere. On other browsers such as Chrome or Edge, logging in with Google works correctly. This indicates a compatibility bug in ArcSphere where the OAuth state/cookie is not being preserved or forwarded properly.

This issue only occurs on ArcSphere. On other browsers such as Chrome or Edge, logging in with Google works correctly. This indicates a compatibility bug in ArcSphere where the OAuth state/cookie is not being preserved or forwarded properly.

2 replies

Huangshan13 months ago

This is a security measure for Google Sign-In. We have not yet applied to be recognized as a browser app on the Google Play, so some sites that use the JS SDK to invoke Google Sign-In are indeed currently reporting errors.

Marlong13 months ago

Got it, thanks for the explanation! Hopefully once ArcSphere is registered on Google Play, Google Sign-In will work smoothly. For now I’ll use another login method.

Reply