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

# Instagram OAuth Callback

> Handles the OAuth callback from Instagram and completes the authentication process



## OpenAPI

````yaml GET /auth/instagram/callback
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /auth/instagram/callback:
    get:
      summary: Instagram OAuth Callback
      description: >-
        Handles the OAuth callback from Instagram and completes the
        authentication process
      parameters:
        - name: code
          in: query
          required: false
          schema:
            type: string
          description: OAuth authorization code from Instagram
        - name: state
          in: query
          required: false
          schema:
            type: string
          description: State parameter for CSRF protection
        - name: error
          in: query
          required: false
          schema:
            type: string
          description: Error code if OAuth failed
        - name: error_description
          in: query
          required: false
          schema:
            type: string
          description: Human-readable error description
      responses:
        '302':
          description: Redirects to signin page with authentication token or error

````