---
title: "Start signing in with Google"
method: GET
path: "/api/v1/auth/oauth/google/start"
tags: ["Authentication"]
---

# Start signing in with Google

`GET /api/v1/auth/oauth/google/start`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/auth/oauth/google/start`
- Auth: HTTP bearer

Redirects the browser to Google. Signs in the account the Google identity belongs to, and creates one — with its own organization — when there is none. `returnTo` is a path on this site to land on afterwards; anything else is replaced with the dashboard. Answers 404 when Google sign-in is not configured.

## Query parameters

- `intent` string
- `returnTo` string

## Other responses

- `302`: Redirect to Google
- `404`: Google sign-in is not configured on this deployment
- `429`: Too many requests

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
