DEV Community

Qasim Muhammad
Qasim Muhammad

Posted on

nylas auth providers: Developer Reference with Examples

Need to list available providers? One command.

The nylas auth providers command lists every email provider the CLI supports — Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP. Each entry shows the provider name, authentication method (OAuth or credentials), and supported features.

Quick Start

brew install nylas/nylas-cli/nylas
nylas init
nylas auth providers
Enter fullscreen mode Exit fullscreen mode

Syntax

nylas auth providers
Enter fullscreen mode Exit fullscreen mode

How It Works

The CLI stores credentials securely in your system keychain (macOS Keychain, Linux Secret Service, or Windows Credential Manager). Tokens are refreshed automatically — you authenticate once and commands just work.

Examples

List providers:

nylas auth providers
Enter fullscreen mode Exit fullscreen mode

JSON output:

nylas auth providers --json
Enter fullscreen mode Exit fullscreen mode

Related Commands


Full docs: nylas auth providers reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylasother install methods

Top comments (0)