Skip to content

Fix Figma OAuth sign-in failing with "Invalid scopes for app" - #36

Open
flamboh wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
flamboh:figma-drop-projects-read
Open

flamboh wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
flamboh:figma-drop-projects-read

Conversation

@flamboh

@flamboh flamboh commented Dec 1, 2026

Copy link
Copy Markdown

Note

🤖 Claude Opus 5.5 on behalf of Oliver

Signing in to the Figma app with OAuth failed at Figma's consent step, even with every scope the app lists ticked on the Figma OAuth app. The same error was reported in UsefulSoftwareCo/executor#1881 ("Invalid scopes for app"), which was closed in the v2 backlog cleanup without a fix.

The cause is projects:read. Figma has deprecated it in favor of folders:read, and an OAuth app can only request scopes selected on its settings page. The package already requests folders:read and folder_metadata:read, and its README says it asks for those instead of the projects:* scopes, so this drops projects:read to match.

Verified on executor.sh with a real Figma OAuth app:

  • With the catalog version, the sign-in failed.
  • With this change deployed to the same app, a fresh connection completed and the account health check (GET /v1/me) reported healthy. The authorization URL now requests 15 scopes, without projects:read.
  • scripts/check.sh figma: typecheck and OpenAPI compile pass (50 tools, 11 mutations).

Made with Claude Opus 5.5 in Claude Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant