---
title: "Complete Definite-managed Google SSO for a hosted on-prem deployment"
method: GET
path: "/onprem/v1/hosted-sso/callback"
tags: ["onprem", "onprem", "__public__"]
---

# Complete Definite-managed Google SSO for a hosted on-prem deployment

`GET /onprem/v1/hosted-sso/callback`

## Query parameters

- `code` string, nullable
- `state` string, nullable
- `error` string, nullable

## Cookies

- `definite_hosted_sso_flow` string, nullable

## Response `200`

Success

- unknown

## Other responses

- `400` — Validation Bad Request
- `401` — Auth Invalid Token
- `403` — Forbidden Insufficient Permissions
- `404` — Resource Not Found
- `409` — Resource Conflict
- `422` — Validation Failed
- `426` — Business Quota Exceeded
- `500` — Internal Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/5ea378187147/schema)
