• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / auth / 19297110881
69%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2025 12:22PM UTC
Jobs 1
Files 167
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2025 12:15PM UTC coverage: 68.312%. Remained the same
19297110881

push

github

web-flow
fix(social-auth): default to current_user:read for Figma provider (#2195)

## What kind of change does this PR introduce?

Bug fix for new Figma OAuth policy and scopes.

## What is the current behavior?

The `files:read` scope is used for Figma. It is now deprecated. For
older apps, this requests too many permissions. For newer apps, or those
who mistakenly started the upgrade process, this scope no longer
works...

## What is the new behavior?

The scope is changed to `current_user:read` which only requests name,
avatar, and email as opposed to any file data.

## Additional context

- https://developers.figma.com/docs/updates-to-figmas-developer-platform
- https://developers.figma.com/docs/rest-api/scopes

## Workaround

This can be used until the PR is merged, note that scopes does not
override but adds to the default, so `queryParams` is needed to override
the query parameter entirely.

```ts
await supabase.auth.signInWithOAuth({
  provider: 'figma',
  options: {
    redirectTo,
    scopes: 'current_user:read',
    // Clear default scope workaround
    queryParams: {
      scope: 'current_user:read',
    },
  }
});
```

Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>

1 of 1 new or added line in 1 file covered. (100.0%)

14004 of 20500 relevant lines covered (68.31%)

79.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19297110881.1 12 Nov 2025 12:22PM UTC 167
68.31
GitHub Action Run
Source Files on build 19297110881
  • Tree
  • List 167
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f409d118 on github
  • Prev Build on master (#19294970498)
  • Next Build on master (#19428985132)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc