Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add *.googleusercontent.com to Authorized JavaScript origins

We have an add-on for Google Sheets and would like to switch other Google accounts for some functions.

Half a year ago, I successfully added a URL (https://***.googleusercontent.com) to Authorized JavaScript origins and a URL (https://oauth-redirect.googleusercontent.com/r/\*\*\*) to Authorized redirect URIs.

But now we can't and, therefore, it keeps showing

Authorization Error (Error:400: redirect_uri_mismatch).

When I try to add this URL(https://***.googleusercontent.com), it shows

"Save failed! The request failed because one of the field of the resource is invalid."

I don't know whether the rules changed and what should I do. See the screenshot for details. Thanks!

Error Message: The JavaScript origin in the request, https://***.googleusercontent.com, does not match the ones authorized for the OAuth client.

The JavaScript origin in the request, https://***.googleusercontent.com, does not match the ones authorized for the OAuth client.

Trying to add a new URI

like image 743
Sun Avatar asked Oct 12 '20 16:10

Sun


1 Answers

This appears to be a bug.

The issue you reported on Issue Tracker has been forwarded internally:

  • Fail to Add *.googleusercontent.com into Authorized JavaScript origins

Thank you for bringing this to our attention. It has been forwarded internally.

Posting this here to give it more visibility. Please click the top-left star if you're affected by this.

like image 63
Iamblichus Avatar answered Nov 15 '22 11:11

Iamblichus