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

# GET /.well-known/oauth-authorization-server/v1



## OpenAPI

````yaml /generated/openapi.json get /.well-known/oauth-authorization-server/v1
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /.well-known/oauth-authorization-server/v1:
    get:
      tags:
        - OAuth
      summary: GET /.well-known/oauth-authorization-server/v1
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_AuthorizationServerMetadata'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_OAuthErrorBody'
          description: OAuth error
      security: []
components:
  schemas:
    Output_AuthorizationServerMetadata:
      description: >-
        RFC 8414 §2, restricted to what this issuer actually implements.


        v3 never served this document, so every client had its endpoints
        compiled

        in. Publishing it is what lets a client discover the mount it was
        pointed

        at instead of assuming one.
      properties:
        authorization_endpoint:
          type: string
        code_challenge_methods_supported:
          description: '`["S256"]`. `plain` is deliberately absent.'
          items:
            type: string
          type: array
        device_authorization_endpoint:
          description: RFC 8628 §4.
          type: string
        grant_types_supported:
          items:
            type: string
          type: array
        issuer:
          description: |-
            The issuer identifier: exactly the mount this document was fetched
            from, with no trailing slash (RFC 8414 §2).
          type: string
        response_types_supported:
          description: '`["code"]`.'
          items:
            type: string
          type: array
        revocation_endpoint:
          description: RFC 7009 §2.
          type: string
        revocation_endpoint_auth_methods_supported:
          description: '`["none"]` as well, for the revocation endpoint.'
          items:
            type: string
          type: array
        token_endpoint:
          type: string
        token_endpoint_auth_methods_supported:
          description: >-
            `["none"]`: every registered client is public and this registry
            issues

            no client secrets.
          items:
            type: string
          type: array
      required:
        - issuer
        - authorization_endpoint
        - token_endpoint
        - device_authorization_endpoint
        - revocation_endpoint
        - response_types_supported
        - grant_types_supported
        - code_challenge_methods_supported
        - token_endpoint_auth_methods_supported
        - revocation_endpoint_auth_methods_supported
      type: object
    Output_OAuthErrorBody:
      description: RFC 6749 §5.2's error body, which RFC 7009 and RFC 8628 reuse.
      properties:
        error:
          type: string
        error_description:
          type: string
      required:
        - error
        - error_description
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey

````

## Related topics

- [GET /v1/.well-known/oauth-authorization-server](https://gproxy.leenhawk.com/api-reference/oauth/get-v1well-knownoauth-authorization-server.md)
- [GET /.well-known/oauth-authorization-server/{mount}/v1](https://gproxy.leenhawk.com/api-reference/oauth/get-well-knownoauth-authorization-server-v1.md)
- [GET /v1/oauth/metadata](https://gproxy.leenhawk.com/api-reference/oauth/get-v1oauthmetadata.md)
- [GET /v1/oauth/authorize](https://gproxy.leenhawk.com/api-reference/oauth/get-v1oauthauthorize.md)
- [CLI Clients](https://gproxy.leenhawk.com/guides/cli-clients.md)


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