Hello
 
We're working on a third-party app that uses Figma's REST API. Our app needs to support both Enterprise and non-Enterprise users. For Enterprise users, we want to enable variable imports (which requires the file_variables:read scope). However, when we include this scope in our OAuth request (along with file_content:read and current_user:read), non-Enterprise users face an error on Figma's OAuth authorization page (https://www.figma.com/oauth?client_id...)
{
    "error": true,
    "status": 400,
    "message": "scope file_variables:read is only allowed for Enterprise users",
    "i18n": null
}
Since this error occurs on Figma's page before the callback to our app, we can't handle it on our end. This blocks non-Enterprise users from signing in at all.
 
We've looked at the /v1/me endpoint but don't see plan info there. Is there a way to detect if a user is Enterprise, or what's the recommended way to support both Enterprise and non-Enterprise users in the same app?
 
Thanks!
