Files
autoreg-skills-max/skills/lobehub-pool/references/cloud-signup-oauth-only-diagnosis-2026-07-04.md

73 lines
2.7 KiB
Markdown

# LobeHub Cloud Signup — OAuth-Only Diagnosis (2026-07-04)
## Playwright Diagnosis Output
### Page Structure
```
Visible inputs:
- type: "text", placeholder: "Enter your email or username", id: "email", autocomplete: "username"
Buttons:
- "Google Continue with Google" (type: button)
- "Github Continue with GitHub" (type: button)
- "Apple Continue with Apple" (type: button)
- "" (empty button — likely "Continue" after email fill)
```
### Turnstile Config
```
turnstileScripts: [] # No Turnstile scripts loaded
sitekeyElements: [] # No [data-sitekey] elements
cfResponseInputs: 0 # No cf-turnstile-response inputs
```
### After Email Fill
```
Inputs unchanged — no password fields appeared
Buttons unchanged — same 3 OAuth buttons + empty "Continue"
```
### Clicking "Continue" after email fill
```
→ Redirects to: https://accounts.google.com/v3/signin/identifier
?client_id=225815447499-1439ljgb70kocnj0h69lul7gr4eqpdif.apps.googleusercontent.com
&redirect_uri=https://app.lobehub.com/api/auth/callback/google
&scope=email+profile+openid
&response_type=code
```
## API Testing
### POST /api/auth/sign-up/email
- Without cookies: `{"code":"CAPTCHA_REQUIRED","message":"Missing CAPTCHA response"}` (400)
- With session cookies from GET /auth/sign-up: Same error
- Field names tried: `captcha`, `turnstile`, `cf-turnstile-response`, `token`, `captchaToken`, `turnstileToken`, `X-Captcha-Response` header
- ALL returned same `CAPTCHA_REQUIRED` error
### 2captcha Turnstile Solving
- Sitekey: `0x4AAAAAACxm5ZI_WCU13SgI`
- Method: `turnstile`
- Token obtained successfully (e.g., `1.GZUqT-Ig4vOrL16853EGp_j4o3nP...`)
- But API rejects token regardless of field name
## Conclusion
1. **Signup page is OAuth-only** — no email/password form exists
2. **API endpoint `/api/auth/sign-up/email` exists but is unusable** — either legacy/deprecated, or requires a different captcha mechanism than what's on the page
3. **The "Continue" button** redirects to Google OAuth, not email signup
4. **No Turnstile widget** on the signup page — the page may only load Turnstile dynamically for specific flows (e.g., login rate-limiting)
5. **To register LobeHub Cloud accounts**, you need Google/GitHub/Apple accounts — email/password registration is not available
## 2captcha Key Balances (2026-07-04)
```
[REDACTED-KEY] → $2.71 (was $4.84)
[REDACTED-KEY] → $2.66 (was $2.97)
[REDACTED-KEY] → -$0.002 (NEGATIVE — DO NOT USE)
[REDACTED-KEY] → $1.82 (was $1.92)
[REDACTED-KEY] → $1.71 (was $1.80)
Total: ~$8.90
```
## DO Playwright Script Location
- Diagnosis: `/root/lh_diag.py` on DO server ([REDACTED-IP])
- Registration: `/root/lobehub_cloud_reg.py` on DO server
- Screenshots: `/root/screenshots/` on DO server