---
title: "Google `OAuth` redirect"
method: GET
path: "/api/auth/google"
tags: ["Auth"]
---

# Google `OAuth` redirect

`GET /api/auth/google`

# Errors
Returns an error if session operations fail or `OAuth` service configuration is invalid.

## Other responses

- `302` — Redirect to Google OAuth consent screen
- `500` — OAuth initialization failed or session storage error

## Changes

- **2025-09-01** `1d20aeaaa6cf` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `500`
  - added the media type `application/json` for the response with the status `500`
- **2025-09-01** `a2488be8a6e4` — 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `500`
  - added the media type `text/plain` for the response with the status `500`

[Change history](https://skmtc.dev/patroninc/apis/patron-api/changes/api/auth/google/get.md)

---

[API](https://skmtc.dev/patroninc/apis/patron-api.md) · [All operations](https://skmtc.dev/patroninc/apis/patron-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/patroninc/patron-api/revisions/1583b1f4c97d/schema)
