feat: 토스판 토스 로그인(mTLS 토큰 교환·연결 끊기 콜백)과 좋아요·댓글 다시 열기

This commit is contained in:
minaChoi committed 2026-10-14 15:36:36 +09:00
1 parent e180d9651c
commit ea5376820c
23 files changed
+530 -56

No files matched your search

+7
View File
@@ -36,6 +36,13 @@ class Settings(BaseSettings):
jwt_access_minutes: int = 60
jwt_refresh_days: int = 30
# 앱인토스 토스 로그인. 인증서·키는 저장소 밖(secrets/toss)에 두고 경로만 받는다
toss_api_base: str = "https://apps-in-toss-api.toss.im"
toss_mtls_cert: str = ""
toss_mtls_key: str = ""
# 연결 끊기 콜백의 Basic Auth 값 "아이디:비밀번호". 콘솔에 넣은 값과 같아야 한다
toss_unlink_auth: str = ""
@field_validator("data_go_kr_service_key")
@classmethod
def _decode_service_key(cls, v: str) -> str: