atropos/environments/router_env/engine/tools/mcp/spotify/src/auth.ts
2025-05-18 18:53:53 -07:00

14 lines
346 B
JavaScript

#!/usr/bin/env node
import { authorizeSpotify } from './utils.js';
console.log('Starting Spotify authentication flow...');
authorizeSpotify()
.then(() => {
console.log('Authentication completed successfully!');
process.exit(0);
})
.catch((error) => {
console.error('Authentication failed:', error);
process.exit(1);
});