用 gws 给 Python 脚本提供 Google OAuth 凭据有两处要手动对齐:登录时用 –readonly 或 –scopes 限定授权范围,导出凭据后在 google-auth 里显式传入 scopes,否则会撞 invalid_scope。