[PR #7422] [MERGED] fix: update Figma provider default scope and oauth endpoints #32900

Closed
opened 2026-04-17 23:36:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7422
Author: @bytaesu
Created: 1/16/2026
Status: Merged
Merged: 1/16/2026
Merged by: @himself65

Base: canaryHead: 2026-01-17/fix/figma-provider


📝 Commits (2)

  • abf3de7 fix: update default scope and oauth endpoints
  • 77577be docs: correct Figma provider guide

📊 Changes

2 files changed (+6 additions, -5 deletions)

View changed files

📝 docs/content/docs/authentication/figma.mdx (+1 -2)
📝 packages/core/src/social-providers/figma.ts (+5 -3)

📄 Description

Note


Summary by cubic

Updated the Figma provider to use the new OAuth token endpoint with basic authentication and set the default scope to current_user:read. This fixes token exchange issues with the old endpoint and aligns scopes with Figma’s latest API.

Written for commit 77577be4f4. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7422 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2026-01-17/fix/figma-provider` --- ### 📝 Commits (2) - [`abf3de7`](https://github.com/better-auth/better-auth/commit/abf3de79c48eca3cc9b32709a48f4c06da26523c) fix: update default scope and oauth endpoints - [`77577be`](https://github.com/better-auth/better-auth/commit/77577be4f40402d42fd6238ff743cbb3ffc897b6) docs: correct Figma provider guide ### 📊 Changes **2 files changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/authentication/figma.mdx` (+1 -2) 📝 `packages/core/src/social-providers/figma.ts` (+5 -3) </details> ### 📄 Description > [!NOTE] > - https://developers.figma.com/docs/rest-api/authentication > - https://developers.figma.com/docs/rest-api/scopes - Closes #7153 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the Figma provider to use the new OAuth token endpoint with basic authentication and set the default scope to current_user:read. This fixes token exchange issues with the old endpoint and aligns scopes with Figma’s latest API. <sup>Written for commit 77577be4f40402d42fd6238ff743cbb3ffc897b6. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 23:36:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#32900