You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
이 문서는 현재 tinyauth의 config.yaml 구조를 top-level 그룹 기준으로 정리한 레퍼런스예요.
:::note
frontend와 frontend.html_variables는 standalone 전용 설정이에요. @tinyrack/tinyauth-standalone만 이 값을 해석하고, @tinyrack/tinyauth-server의 직접 구성에서는 사용하지 않아요.
:::
server
항목
유형
기본값
환경 변수
설명
public_origin
string (URL)
http://localhost:8080
PUBLIC_ORIGIN
공개 URL. 리다이렉트, 이메일 링크, OIDC issuer metadata의 기준이 돼요.
listen_port
number
8080
LISTEN_PORT
standalone 서버가 바인딩할 포트예요.
trust_proxy
boolean | string | string[] | number
false
TRUST_PROXY
리버스 프록시 헤더 신뢰 설정이에요.
tokens
항목
유형
기본값
환경 변수
설명
access_token_ttl
integer (최소 60)
3600
ACCESS_TOKEN_TTL
액세스 토큰 수명(초)
refresh_token_ttl
integer (최소 3600)
2592000
REFRESH_TOKEN_TTL
리프레시 토큰 수명(초)
key_rotation.enabled
boolean
true
JWT_KEY_ROTATION_ENABLED
JWT 키 자동 순환 활성화
key_rotation.interval_days
integer (최소 1)
30
JWT_KEY_ROTATION_DAYS
키 순환 주기(일)
key_rotation.overlap_days
integer (최소 1)
7
JWT_KEY_OVERLAP_DAYS
이전 키 유지 기간(일)
i18n
항목
유형
기본값
환경 변수
설명
supported_languages
Locale[]
['en', 'ko', 'ja']
-
지원 언어 목록
default_language
'auto' | Locale
'auto'
DEFAULT_LANGUAGE
기본 언어
fallback_language
Locale
'en'
FALLBACK_LANGUAGE
대체 언어
branding
항목
유형
기본값
환경 변수
설명
light_theme
AppTheme
'light'
LIGHT_THEME
라이트 모드 테마
dark_theme
AppTheme
'dark'
DARK_THEME
다크 모드 테마
theme_mode
'light' | 'dark' | 'system'
'system'
THEME_MODE
테마 선택 방식
background_url
string (URL)
기본 배경 이미지
BACKGROUND_URL
배경 이미지 URL
icon_url
string (URL)
-
ICON_URL
로고 이미지 URL
title
Record<string, string>
기본 다국어 제목
-
언어별 제목
subtitle
Record<string, string>
기본 다국어 부제목
-
언어별 부제목
registration
항목
유형
기본값
환경 변수
설명
enabled
boolean
false
REGISTRATION_ENABLED
자체 회원가입 활성화 여부. 비밀번호 가입과 최초 OAuth 가입 모두 이 값을 따라요.
allowed_email_patterns
string[]
[]
-
가입 허용 이메일 패턴. enabled: true일 때만 적용되며, 빈 배열이면 모든 이메일 가입을 허용해요.