> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Callback

> Validate the one-time OAuth state and Google response, then redirect with a short-lived exchange code.



## OpenAPI

````yaml /openapi.json get /v1/apps/{projectId}/auth/oauth/google/callback
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/apps/{projectId}/auth/oauth/google/callback:
    get:
      tags:
        - appauth
      summary: Google Callback
      description: >-
        Validate the one-time OAuth state and Google response, then redirect
        with a short-lived exchange code.
      operationId: appauth.googleCallback
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project id (UUID) or globally unique project slug.
        - name: state
          in: query
          required: true
          schema:
            type: string
        - name: code
          in: query
          required: false
          schema:
            type: string
        - name: error
          in: query
          required: false
          schema:
            type: string
      responses:
        '302':
          description: Exact configured application redirect.
        '400':
          description: Invalid, expired, consumed, or failed OAuth attempt.
      security: []

````