Currently the proxy requests all scopes that have been granted by your Google account, regardless of which site you're using it on.
To solve this, we need to ensure that all require OAuth scopes are passed along in a query parameter in the setup URL for the proxy.
_Do not alter or remove anything below. The following sections will be managed by moderators only._
scope parameter which includes the currently required scopes as a space-separated string.OAuth_Client::get_proxy_setup_url(), use $this->get_required_scopes() to add a scope query parameter to the URL (regardless of condition).IBR ✅
CR ✅
@aaemnnosttv Would be great if you could QA this since it is related to the issue you were describing earlier today.


Verified with two separate sites -- see parameter
&scope=openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fsiteverification%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fwebmasters