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

# Pushed authorization request (RFC 9126)

> Client-authenticated. Must not carry request_uri; client_id must match the authenticated client. Returns 201 with a one-time request_uri (90s TTL).



## OpenAPI

````yaml /api-reference/openapi.json post /oauth/par
openapi: 3.0.1
info:
  title: TKTChurch Identity (TKTAuth)
  version: v1
  description: >-
    Authorization server at prod-auth.tktchurch.com. Public OAuth2/OIDC
    endpoints need no auth; /api/v1 self routes need a Bearer access token
    issued to the user. the listed resource:action permission. Management lists
    return `{ metadata: { total, page, per }, items: [...] }`.
servers:
  - url: https://prod-auth.tktchurch.com
    description: Production
  - url: http://localhost:8080
    description: Local backchannel
  - url: https://calendar.tktchurch.net
    description: Calendar (Events)
security: []
tags:
  - name: authentication
    description: >-
      OAuth2 (RFC 6749), PAR (9126), revocation/introspection (7009/7662),
      device flow (8628), OIDC, registration (7591), sign-in flows, password
      reset and federated identity.
  - name: users
    description: >-
      Signed-in profile, identities, recovery, membership and Member Pass.
      Bearer only.
  - name: membership
    description: Membership matching, Member Pass, invite claims and family join codes.
  - name: sessions
    description: List, inspect and revoke your own sessions. Bearer only.
  - name: security
    description: TOTP setup and passkey management. Bearer only.
  - name: consents-privacy
    description: Your consent grants, privacy notices, data requests and exports.
  - name: family
    description: >-
      Families, dependents and guardian delegation. Bearer; delegation needs
      guardian:act_as.
  - name: system
    description: Liveness, readiness, build info and public maintenance status.
  - name: events
    description: >-
      Public church events listing, search and detail on calendar.tktchurch.net.
      No auth.
paths:
  /oauth/par:
    post:
      tags:
        - authentication
      summary: Pushed authorization request (RFC 9126)
      description: >-
        Client-authenticated. Must not carry request_uri; client_id must match
        the authenticated client. Returns 201 with a one-time request_uri (90s
        TTL).
      operationId: pushedAuthorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PARRequest'
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PushedAuthorizationResponse'
              example:
                request_uri: >-
                  urn:ietf:params:oauth:request_uri:AbC12xYz04QwErTyUiOpAsDfGhJkLzXcVbNm
                expires_in: 90
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: invalid_request
                error_description: Redirect URI not registered for this client
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: invalid_client
                error_description: Client authentication failed
      security:
        - clientBasic: []
components:
  schemas:
    PARRequest:
      type: object
      properties:
        response_type:
          type: string
          description: Must be code
          example: code
        client_id:
          type: string
          description: Must match the authenticated client
        redirect_uri:
          type: string
          description: Must be pre-registered
        scope:
          type: string
          description: Space-separated scopes
        state:
          type: string
          description: Opaque CSRF value echoed back
        code_challenge:
          type: string
          description: S256 PKCE challenge
        code_challenge_method:
          type: string
          description: Must be S256
          example: S256
        nonce:
          type: string
          description: OIDC nonce
      required:
        - response_type
        - client_id
        - redirect_uri
    PushedAuthorizationResponse:
      type: object
      properties:
        request_uri:
          type: string
        expires_in:
          type: integer
          example: 90
    Error:
      type: object
      required:
        - error
        - error_description
      properties:
        error:
          type: string
          description: Machine-readable code
        error_description:
          type: string
          description: Human-readable detail
  securitySchemes:
    clientBasic:
      type: http
      scheme: basic

````