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

# Apple Callback

> Apple form-POSTs here. Verify state + id_token, link-or-create, mint
tokens, 303-redirect back to the storefront with tokens in the fragment.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json post /api/v1/auth/apple/callback
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/auth/apple/callback:
    post:
      tags:
        - auth
      summary: Apple Callback
      description: |-
        Apple form-POSTs here. Verify state + id_token, link-or-create, mint
        tokens, 303-redirect back to the storefront with tokens in the fragment.
      operationId: apple_callback_api_v1_auth_apple_callback_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/Body_apple_callback_api_v1_auth_apple_callback_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_apple_callback_api_v1_auth_apple_callback_post:
      properties:
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        id_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Id Token
        state:
          anyOf:
            - type: string
            - type: 'null'
          title: State
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        user:
          anyOf:
            - type: string
            - type: 'null'
          title: User
      type: object
      title: Body_apple_callback_api_v1_auth_apple_callback_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.