Twitter account
OpenAI account
Stripe keys
option.object({ apiKey: option.string.layout({ isRequired: true, label: "API key", withVariableButton: false, }), });
Gmail account
Google Drive
GitHub account
Show Properties
const gmailScopes = [ "https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/gmail.labels", "https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/userinfo.email", ] as const; export const auth = createAuth({ type: "oauth", name: "Gmail account", authUrl: "https://accounts.google.com/o/oauth2/v2/auth", tokenUrl: "https://oauth2.googleapis.com/token", scopes: gmailScopes, defaultClientEnvKeys: { id: "GMAIL_CLIENT_ID", secret: "GMAIL_CLIENT_SECRET", }, extraAuthParams: { access_type: "offline", prompt: "consent", }, });