© 2026 Hashnode
Step 1: Generate OAuth URL Run the following command to start the authentication flow: npx tsx get-token.ts This will print an authorization URL like: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=https://www.googleapis.com/...
