Skip to content

Commit 02e9cbf

Browse files
authored
Fix Figma integration OAuth token endpoint (#824)
* Fix Figma integration oauth token endpoint * Add changeset
1 parent cb7ab97 commit 02e9cbf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/vast-sites-jump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@gitbook/integration-figma': patch
3+
---
4+
5+
Fix Figma integration OAuth token endpoint

integrations/figma/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default createIntegration<FigmaRuntimeContext>({
181181
clientId: context.environment.secrets.CLIENT_ID,
182182
clientSecret: context.environment.secrets.CLIENT_SECRET,
183183
authorizeURL: 'https://www.figma.com/oauth?scope=file_read',
184-
accessTokenURL: 'https://www.figma.com/api/oauth/token',
184+
accessTokenURL: 'https://api.figma.com/v1/oauth/token',
185185
});
186186

187187
return oauthHandler(request, context);

0 commit comments

Comments
 (0)