Skip to content

Commit 1c4d88b

Browse files
author
CodeBuddy Attribution Bot
committed
fix(attribution): auth-web-cloudbase Skill 邮箱注册 API 流程说明不清晰 (issue_mnouau2z_bk9am7)
1 parent 1b65c7e commit 1c4d88b

2 files changed

Lines changed: 187 additions & 137 deletions

File tree

config/.claude/skills/auth-tool/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Parameter mapping for downstream Web auth code:
130130
- `queryAppAuth(action="getLoginConfig")` and `manageAppAuth(action="patchLoginStrategy")` return `sdkStyle: "supabase-like"` plus `sdkHints`; treat that as the preferred frontend-auth calling guide
131131
- `PhoneNumberLogin` controls phone OTP flows used by `auth-web` `auth.signInWithOtp({ phone })` and `auth.signUp({ phone })`
132132
- `EmailLogin` controls email OTP flows used by `auth-web` `auth.signInWithOtp({ email })` and `auth.signUp({ email })`
133+
- Email and phone signup complete through OTP verification. After `auth.signUp({ email|phone, ... })`, continue with the returned `verifyOtp({ token })`
133134
- `UserNameLogin` controls username/password Web auth flows used by `auth-web` `auth.signUp({ username, password })` and `auth.signInWithPassword({ username, password })`
134135
- If the account identifier is a plain username string, do not route it through email-only helpers such as `signInWithEmailAndPassword`
135136
- `UserNameLogin` also enables the broader password-login surface exposed by `auth.signInWithPassword({ username|email|phone, password })`
@@ -212,6 +213,7 @@ Email has two layers of configuration:
212213
- `ModifyLoginConfig.EmailLogin`: controls whether email/password login is enabled
213214
- `ModifyProvider(Id="email")`: controls the email sender channel and SMTP configuration
214215
- In Web auth code, this maps to `auth.signInWithOtp({ email })` and `auth.signUp({ email })`
216+
- `auth.signUp({ email })` is an email OTP registration step, not an `email + password` signup payload; finish the flow with `verifyOtp({ token })`
215217

216218
Preferred MCP tool path:
217219

0 commit comments

Comments
 (0)