Handle personal access token in Figma Plugin
To allow someone to upload their frames from Figma to GitLab we need a way to authenticate the user.
For the MVC we are going keep the implementation simple of using a personal access token as a way to handle authentication.
Long term we would want to use oAuth because it is a workflow with less friction.
Tasks
-
When the user opens the plugin and a token is not present then show view to accept an input for the access token -
Save access token in Figma client settings -
When the user opens the plugin and a token is present then show the main plugin view -
Plugin menu option to remove the access token (optional)
Edited by Tom Quirk