Releases: gridaco/figma-sdk
Releases · gridaco/figma-sdk
Figma OAuth Kit
Figma-OAuth
(@design-sdk/Figma-OAuth
)
Figma OAuth, ready to use.
Installation
yarn add @design-sdk/figma-oauth
# or with npm
npm i @design-sdk/figma-oauth
Usage
import { urls, request } from "@design-sdk/figma-oauth";
const oauthTokenRequestUrl = urls.oauth_token_request_url({
client_id,
client_secret,
redirect_uri,
code,
});
const oauthAuthenticationResult = request.authenticationoauth_token_request_url(
{
client_id,
client_secret,
redirect_uri,
code,
}
);