---
title: "Login / register with Google ID token → JWT"
method: POST
path: "/auth/google"
tags: ["Auth"]
---

# Login / register with Google ID token → JWT

`POST /auth/google`

## Request

- Base URL: `https://opnplatform.com/api`
- URL: `https://opnplatform.com/api/auth/google`
- Auth: none declared

## Request body

- object
  - `id_token` string, required

## Response `200`

JWT token

## Other responses

- `401`: Invalid Google token
- `503`: Google sign-in not configured

---

[API](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network.md) · [All operations](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/llms.txt) · [OpenAPI document](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/revisions/f427c0467bb2?raw)
