---
title: "Start Google OAuth login"
method: GET
path: "/api/v1/auth/google"
tags: ["Authentication"]
---

# Start Google OAuth login

`GET /api/v1/auth/google`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/auth/google`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Public. Redirects the browser to Google's OAuth consent screen with an HMAC-signed `state` parameter. Returns `500 GOOGLE_NOT_CONFIGURED` if Google OAuth credentials are not set on the server.

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
