---
title: "Authenticate user via Google"
method: POST
path: "/auth"
---

# Authenticate user via Google

`POST /auth`

Authenticate the user using their Google account and return an access token

## Request body

- object
  - `id_token` string

## Response `200`

Access token for the user

- object
  - `access_token` string

## Other responses

- `400` — Invalid ID token
- `500` — Internal server error

---

[API](https://skmtc.net/01-edu/apis/friend-tracker-api.md) · [All operations](https://skmtc.net/01-edu/apis/friend-tracker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/01-edu/friend-tracker-api/versions/0a952c2d887c/schema)
