# Sign in with google web

> Sign in with google web is an open-source agent skill. Implement, configure, and secure Sign In With Google (SiwG) using Google Identity Services (GIS / `https://accounts.google.com/gsi/client`). It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/google/skills/tree/main/skills/identity/sign-in-with-google-web
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** sign-in-with-google-web
- **Collection:** https://github.com/google/skills
- **Listing updated:** 2026-11-17

## About

Implement, configure, and secure Sign In With Google (SiwG) using Google Identity Services (GIS / `https://accounts.google.com/gsi/client`) across web architectures. Use when creating Google sign-in buttons, implementing Google One Tap with FedCM, integrating GIS in React/Next.js/Angular/HTML, verifying ID tokens on backend runtimes (Python/Node.js/Go/Java), enforcing Google Workspace domain restrictions (`hd`), securing client-side ID tokens via WebCrypto nonces or encrypted IndexedDB, embedding in cross-origin iframes via the Intermediate Iframe API (`https://accounts.google.com/gsi/intermediate`), configuring Content Security Policy (CSP), COOP, and Permissions Policy (`identity-credentials-get`) headers, or handling sign-out and revocation. Don't use for legacy Google Sign-In (`gapi.auth2`), Google Cloud IAM service accounts, or Android/iOS native Credential Manager.

## When your agent uses it

> Implement, configure, and secure Sign In With Google (SiwG) using Google Identity Services (GIS / `https://accounts.google.com/gsi/client`) across web architectures. Use when creating Google sign-in buttons, implementing Google One Tap with FedCM, integrating GIS in React/Next.js/Angular/HTML, verifying ID tokens on backend runtimes (Python/Node.js/Go/Java), enforcing Google Workspace domain restrictions (`hd`), securing client-side ID tokens via WebCrypto nonces or encrypted IndexedDB, embedding in cross-origin iframes via the Intermediate Iframe API (`https://accounts.google.com/gsi/intermediate`), configuring Content Security Policy (CSP), COOP, and Permissions Policy (`identity-credentials-get`) headers, or handling sign-out and revocation. Don't use for legacy Google Sign-In (`gapi.auth2`), Google Cloud IAM service accounts, or Android/iOS native Credential Manager.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/google/skills/tree/HEAD/skills/identity/sign-in-with-google-web)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/identity/sign-in-with-google-web)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/sign-in-with-google-web` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sign-in-with-google-web &&
cp -R "$tmp/skills/identity/sign-in-with-google-web" ~/.claude/skills/sign-in-with-google-web &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sign-in-with-google-web` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sign-in-with-google-web` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sign-in-with-google-web &&
cp -R "$tmp/skills/identity/sign-in-with-google-web" ~/.agents/skills/sign-in-with-google-web &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sign-in-with-google-web` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sign-in-with-google-web` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sign-in-with-google-web &&
cp -R "$tmp/skills/identity/sign-in-with-google-web" ~/.cursor/skills/sign-in-with-google-web &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sign-in-with-google-web` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/google/skills.git --path skills/identity/sign-in-with-google-web
```

Or copy the folder to `~/.gemini/skills/sign-in-with-google-web` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sign-in-with-google-web`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sign-in-with-google-web &&
cp -R "$tmp/skills/identity/sign-in-with-google-web" ~/.copilot/skills/sign-in-with-google-web &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sign-in-with-google-web` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/google/skills.git
```

Then copy `skills/skills/identity/sign-in-with-google-web` into your agent's skills folder as `sign-in-with-google-web`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Sign in with google web in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sign-in-with-google-web to use it in all your projects, or to .claude/skills/sign-in-with-google-web in one project.

### Does Sign in with google web run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sign in with google web?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/sign-in-with-google-web
