We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7ab97 commit 02e9cbfCopy full SHA for 02e9cbf
.changeset/vast-sites-jump.md
@@ -0,0 +1,5 @@
1
+---
2
+'@gitbook/integration-figma': patch
3
4
+
5
+Fix Figma integration OAuth token endpoint
integrations/figma/src/index.tsx
@@ -181,7 +181,7 @@ export default createIntegration<FigmaRuntimeContext>({
181
clientId: context.environment.secrets.CLIENT_ID,
182
clientSecret: context.environment.secrets.CLIENT_SECRET,
183
authorizeURL: 'https://www.figma.com/oauth?scope=file_read',
184
- accessTokenURL: 'https://www.figma.com/api/oauth/token',
+ accessTokenURL: 'https://api.figma.com/v1/oauth/token',
185
});
186
187
return oauthHandler(request, context);
0 commit comments