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

# Get OAuth id token

> Get the id_token for the current user's custom OAuth account. Returns null when the user signed in another way.



## OpenAPI

````yaml /openapi.json get /oauth/id-token
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /oauth/id-token:
    get:
      tags:
        - Authentication
      summary: Get OAuth id token
      description: >-
        Get the id_token for the current user's custom OAuth account. Returns
        null when the user signed in another way.
      operationId: getOAuthIdToken
      responses:
        '200':
          description: The id_token if available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthIdToken'
        '401':
          description: Missing or invalid credentials
components:
  schemas:
    OAuthIdToken:
      type: object
      properties:
        idToken:
          type:
            - string
            - 'null'
          description: >-
            The stored id_token for the user's `custom` OAuth account, or null
            when they have no such account.
      required:
        - idToken
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````