Skip to main content

Recently active topics

215
t-nishiNew Participant
 API
Box Drive デスクトップアプリにログインできない(ログイン画面に戻される)

発生日: 2026-09-06■ 症状Box Drive の「ログイン」→ ブラウザで認証 → Box Drive のログイン画面に戻る、を繰り返す。Box Drive のログには毎回 pkce_verification_failed が記録される。POST https://api.box.com/oauth2/token→ {"error":"pkce_verification_failed","error_description":"PKCE verification has failed"}■ 追跡した認証フロー(ブラウザ履歴より)1. account.box.com/api/oauth2/authorizestate=<uuid>code_challenge=<43文字>code_challenge_method=S256client_id=86xa1h4ghg1wmworl48by1pysmv076ufredirect_uri=boxdrive://oauth2_redirect→ PKCE パラメータは正しく付与されている2. account.box.com/integrations/googleplus/ensureValidBrowser→ /integrations/googleplus/beginAuthorization→ accounts.google.com/o/oauth2/v2/auth (Googleアカウント連携で認証)3. account.box.com/integrations/googleplus/oauth2Redirectauthuser=0, hd=toggle.co.jp, prompt=none (ドメインは正しい)4. app.box.com/api/oauth2/authorize→ ★クエリパラメータが空。code_challenge が失われている5. boxdrive://oauth2_redirect?state=<uuid>&code=<code>→ state は保持されて戻る(=認証自体は成功している)6. トークン交換で PKCE 検証に失敗■ 切り分け済み(すべて同一エラーで再現)・別のPCでも再現 → クライアント環境依存ではない・Box

Badge winners

Show all badges

Didn't find what you were looking for?

Ask the Community