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

# Get public authentication configuration

> Get all public authentication configuration including OAuth providers and email auth settings (public endpoint)



## OpenAPI

````yaml https://raw.githubusercontent.com/InsForge/InsForge/main/openapi/auth.yaml get /api/auth/public-config
openapi: 3.0.3
info:
  title: Insforge Authentication API
  version: 2.0.0
  description: Authentication endpoints with separated auth and profile tables
servers: []
security: []
paths:
  /api/auth/public-config:
    get:
      tags:
        - Client
      summary: Get public authentication configuration
      description: >-
        Get all public authentication configuration including OAuth providers
        and email auth settings (public endpoint)
      responses:
        '200':
          description: Public authentication configuration
          content:
            application/json:
              schema:
                type: object
                properties:
                  oAuthProviders:
                    type: array
                    items:
                      type: string
                      enum:
                        - google
                        - github
                        - discord
                        - linkedin
                        - facebook
                        - instagram
                        - tiktok
                        - apple
                        - x
                        - spotify
                        - microsoft
                  customOAuthProviders:
                    type: array
                    items:
                      type: string
                  requireEmailVerification:
                    type: boolean
                  passwordMinLength:
                    type: integer
                    minimum: 4
                    maximum: 128
                  requireNumber:
                    type: boolean
                  requireLowercase:
                    type: boolean
                  requireUppercase:
                    type: boolean
                  requireSpecialChar:
                    type: boolean
                  verifyEmailMethod:
                    type: string
                    enum:
                      - code
                      - link
                    description: >-
                      Method for email verification (code = 6-digit OTP, link =
                      magic link)
                  resetPasswordMethod:
                    type: string
                    enum:
                      - code
                      - link
                    description: >-
                      Method for password reset (code = 6-digit OTP + exchange
                      flow, link = magic link)
                  disableSignup:
                    type: boolean
                    description: >-
                      When true, new user sign-ups are disabled. Existing users
                      can still sign in.

````