{
 "kind": "tool",
 "slug": "google-auth-oauthlib",
 "path": "tools/google-auth-oauthlib/",
 "name": "google-auth-oauthlib",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "OAuth library for Google authentication flows in Python applications.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install google-auth-oauthlib"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/googleapis/google-cloud-python"
  },
  {
   "label": "Website",
   "href": "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-auth-oauthlib"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/googleapis/google-cloud-python"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 23, 2026. ",
   "src": "https://github.com/googleapis/google-cloud-python"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "45 projects",
   "status": "info",
   "sub": "#16 of 141 in its category",
   "note": "Dependency in 45 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What google-auth-oauthlib does",
   "parts": [
    {
     "t": "prose",
     "text": "OAuth library for Google authentication flows in Python applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "google-auth-oauthlib popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "69",
       "of": "/ 100",
       "l": "Gid Score, #448 overall"
      },
      {
       "n": "28M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "5,422",
       "l": "GitHub stars"
      },
      {
       "n": "45",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How google-auth-oauthlib is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "google-auth-oauthlib is a dependency in 45 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.8% of the 1,623 Python ones), #16 of 141 in auth and security libraries.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 429; those are left out of every share on this page.",
      "The most used alternative in our scan is cryptography (148 projects).",
      "Projects that use it most often also use Google API Python Client (88.9%), python-dotenv (71.1%), google-auth (68.9%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "30 projects, 0.9%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "16 projects, 0.7%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "9 projects, 2.7%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 88.9% of its projects",
       "v": "Google API Python Client",
       "path": "tools/google-api-python-client/"
      },
      {
       "l": "In 71.1% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 68.9% of its projects",
       "v": "google-auth",
       "path": "tools/google-auth/"
      },
      {
       "l": "In 68.9% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 53.3% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 51.1% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 44.4% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about google-auth-oauthlib",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "NextAuth.js",
         "path": "tools/next-auth/"
        },
        {
         "text": "jsonwebtoken",
         "path": "tools/jsonwebtoken/"
        },
        {
         "text": "jose",
         "path": "tools/jose/"
        },
        {
         "text": "Better Auth",
         "path": "tools/better-auth/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        },
        {
         "text": "Helmet",
         "path": "tools/helmet/"
        },
        {
         "text": "bcrypt (JavaScript)",
         "path": "tools/bcrypt-npm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "google-auth-oauthlib",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 69",
        "28M/wk"
       ]
      },
      {
       "name": "cryptography",
       "why": "Python library providing cryptographic recipes and primitives for secure applications.",
       "path": "tools/cryptography/",
       "facts": [
        "Apache-2.0 OR BSD-3-Clause",
        "Gid 77",
        "316M/wk"
       ]
      },
      {
       "name": "PyJWT",
       "why": "Python library for encoding and decoding JSON Web Tokens.",
       "path": "tools/pyjwt/",
       "facts": [
        "MIT",
        "Gid 74",
        "176M/wk"
       ]
      },
      {
       "name": "azure-identity",
       "why": "Microsoft Azure identity authentication library for Python.",
       "path": "tools/azure-identity-pypi/",
       "facts": [
        "MIT",
        "Gid 69",
        "34.1M/wk"
       ]
      },
      {
       "name": "Authlib",
       "why": "Ultimate Python library for building OAuth and OpenID Connect servers and clients.",
       "path": "tools/authlib/",
       "facts": [
        "BSD",
        "Gid 70",
        "38.2M/wk"
       ]
      },
      {
       "name": "oauthlib",
       "why": "Comprehensive OAuth request-signing implementation for Python, handling authentication flows securely.",
       "path": "tools/oauthlib/",
       "facts": [
        "BSD-3-Clause",
        "Gid 69",
        "62.8M/wk"
       ]
      }
     ],
     "more": "Compare google-auth-oauthlib with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install google-auth-oauthlib"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for google-auth-oauthlib yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi google-auth-oauthlib"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "68.8"
  ],
  [
   "Rank in category",
   "#16 of 141"
  ],
  [
   "GitHub",
   "googleapis/google-cloud-python"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/googleapis.png"
}