auth
身份驗證
託管登入頁與 REST/SDK 註冊登入、OAuth 授權碼 + PKCE、JWT 存取權杖。
OpenAPI 路徑
共 15 個操作(method + path + summary)
| Method | Path | Summary |
|---|---|---|
| GET | /oauth/authorize | 授權端點 |
| GET | /oauth/google/callback | Google OAuth 回調(平台統一) |
| POST | /oauth/google/exchange | 原生 SDK:以 id_token 或 google_code 換 session/OAuth code |
| POST | /oauth/google/resume | 原生:WebView 完成 consent/補資料後續跑 authorize |
| GET | /oauth/google/start | 啟動 Google OAuth(平台統一) |
| POST | /oauth/token | 用授權碼或 refresh_token 換發 access token |
| POST | /v1/auth/login | 終端用戶登入 |
| POST | /v1/auth/logout | 撤銷 refresh token |
| POST | /v1/auth/magic-link/request | 請求 Magic Link 登入信 |
| POST | /v1/auth/magic-link/verify | 驗證 Magic Link 並登入 |
| POST | /v1/auth/password/reset | 以 reset_token 重設密碼 |
| POST | /v1/auth/profile/complete | 補齊必填個資(complete-profile) |
| POST | /v1/auth/refresh | 刷新 access token |
| POST | /v1/auth/register | 終端用戶註冊 |
| GET | /v1/dev/apps/{id}/users | 列出 App 用戶(開發者) |

