Add OAuth error return interface format

This commit is contained in:
咕谷酱
2025-07-26 23:48:48 +08:00
parent ef977d1c2d
commit 130bcdcdc1
2 changed files with 54 additions and 9 deletions

View File

@@ -27,3 +27,10 @@ class UserCreate(BaseModel):
password: str
email: str
country_code: str = "CN"
class OAuthErrorResponse(BaseModel):
error: str
error_description: str
hint: str
message: str