Skip to main content
GET
/
api
/
auth
/
public-config
{
  "oAuthProviders": [
    {
      "provider": "google",
      "useSharedKey": true
    }
  ],
  "requireEmailVerification": true,
  "passwordMinLength": 66,
  "requireNumber": true,
  "requireLowercase": true,
  "requireUppercase": true,
  "requireSpecialChar": true,
  "verifyEmailRedirectTo": "<string>",
  "resetPasswordRedirectTo": "<string>",
  "verifyEmailMethod": "code",
  "resetPasswordMethod": "code"
}

Response

200 - application/json

Public authentication configuration

oAuthProviders
object[]
requireEmailVerification
boolean
passwordMinLength
integer
Required range: 4 <= x <= 128
requireNumber
boolean
requireLowercase
boolean
requireUppercase
boolean
requireSpecialChar
boolean
verifyEmailRedirectTo
string | null

URL to redirect users after successful email verification (if not set, shows default success page)

resetPasswordRedirectTo
string | null

URL to redirect users after successful password reset (if not set, shows default success page)

verifyEmailMethod
enum<string>

Method for email verification (code = 6-digit OTP, link = magic link)

Available options:
code,
link
resetPasswordMethod
enum<string>

Method for password reset (code = 6-digit OTP + exchange flow, link = magic link)

Available options:
code,
link