We’re using both Airtable Apps (Blocks) as well as the Airtable API. Is there any way to get the user API key from a block? That way we avoid forcing the user to look for their API key and paste it into our app.
I’m hoping for something like this:
import {session} from '@airtable/blocks';
if (session.currentUser !== null) {
console.log("The current user's API key is", session.currentUser.apiKey);
}
