feat: add passkey automation scripts and setup guide#274
Open
papavini wants to merge 1 commit intogcui-art:mainfrom
Open
feat: add passkey automation scripts and setup guide#274papavini wants to merge 1 commit intogcui-art:mainfrom
papavini wants to merge 1 commit intogcui-art:mainfrom
Conversation
- scripts/passkey-server.mjs: HTTP server on :3099 with bookmarklet UI for easy SUNO_PASSKEY_TOKEN renewal via real browser (Cloudflare-safe) - scripts/refresh-passkey.mjs: Playwright-based automated passkey capture with xvfb/system-Chrome fallback for Linux headless environments - SETUP.md: comprehensive setup guide covering cookie extraction, passkey renewal, API usage, systemd deployment, and troubleshooting - package.json: add 6 npm scripts for passkey management - SunoApi.ts: fix BASE_URL to studio-api-prod.suno.com, update DEFAULT_MODEL to chirp-fenix, add CAPTCHA bypass, align generate payload with web client Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Someone is attempting to deploy a commit to the Linkly AI LLC's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
turnstile.executein the real user browser and POSTs the capturedP1_token to localhost. Cloudflare-safe because it runs in an undetected browser session.passkey-server,passkey-server:rebuild,passkey-server:restart,refresh-passkey,refresh-passkey:rebuild,refresh-passkey:restart.BASE_URLtostudio-api-prod.suno.com, updateDEFAULT_MODELtochirp-fenix, bypass broken Playwright CAPTCHA flow, align generate payload with current web client format.Test plan
npm run passkey-server, open http://127.0.0.1:3099/, drag bookmarklet to browser barnpm run build && npm startand verify generation endpoint worksxvfb-run -a node scripts/refresh-passkey.mjs --rebuild🤖 Generated with Claude Code