1616 < img src ="https://openanalyst.com/images/new-logo.png " alt ="OA " >
1717 < h2 > OpenAnalyst CLI</ h2 >
1818 </ a >
19- < span data-version-prefix ="Documentation v "> Documentation v1 .0.106 </ span >
19+ < span data-version-prefix ="Documentation v "> Documentation v2 .0.3 </ span >
2020 </ div >
2121 < div class ="sidebar-section ">
2222 < div class ="sidebar-section-title "> Documentation</ div >
@@ -47,15 +47,15 @@ <h2>OpenAnalyst CLI</h2>
4747 < div class ="page-header ">
4848 < span class ="badge "> Getting Started</ span >
4949 < h1 > Authentication</ h1 >
50- < p class ="subtitle "> Connect to any LLM provider using OAuth , API keys, or environment variables.</ p >
50+ < p class ="subtitle "> Connect to any LLM provider using API Key , API keys, or environment variables.</ p >
5151 </ div >
5252
5353 < h2 id ="methods "> Authentication Methods</ h2 >
5454
5555 < div class ="card-grid ">
5656 < div class ="card ">
5757 < div class ="card-icon "> 🔑</ div >
58- < h3 > OAuth (Recommended )</ h3 >
58+ < h3 > API Key (All Providers )</ h3 >
5959 < p > Browser-based login with PKCE security. Tokens refresh automatically.</ p >
6060 </ div >
6161 < div class ="card ">
@@ -70,12 +70,12 @@ <h3>Credentials File</h3>
7070 </ div >
7171 </ div >
7272
73- < h2 id ="oauth " > OAuth Login</ h2 >
73+ < h2 id ="api-key " > API Key Login</ h2 >
7474 < p > The recommended way to authenticate. Supports all providers with automatic token refresh.</ p >
7575
7676 < div class ="callout callout-tip ">
7777 < div class ="callout-title "> Direct Provider Login</ div >
78- For < strong > Claude </ strong > (Anthropic), < strong > Codex </ strong > (OpenAI), and < strong > Gemini </ strong > (Google) you can login directly through your provider account via browser OAuth. No API key needed — just sign in with your existing Anthropic, OpenAI, or Google account. Credentials are stored securely with PKCE and auto-refresh .
78+ All providers authenticate via API key. Get your key from the provider dashboard and paste it during login. Gemini also supports API Key API key .
7979 </ div >
8080
8181 < pre > < code > < span class ="token-comment "> # Interactive provider picker</ span >
@@ -87,7 +87,7 @@ <h2 id="oauth">OAuth Login</h2>
8787< span class ="token-comment "> # Check logged-in providers</ span >
8888openanalyst whoami</ code > </ pre >
8989
90- < h3 > How OAuth Works</ h3 >
90+ < h3 > How API Key Works</ h3 >
9191 < ol >
9292 < li > You run < code > openanalyst login</ code > and pick a provider</ li >
9393 < li > A browser window opens for the provider's consent page</ li >
@@ -98,7 +98,7 @@ <h3>How OAuth Works</h3>
9898
9999 < div class ="callout callout-info ">
100100 < div class ="callout-title "> Security</ div >
101- OAuth uses < strong > PKCE</ strong > (Proof Key for Code Exchange) with SHA-256 challenge. No client secret is stored on disk.
101+ API Key uses < strong > PKCE</ strong > (Proof Key for Code Exchange) with SHA-256 challenge. No client secret is stored on disk.
102102 </ div >
103103
104104 < h2 id ="api-keys "> API Key Authentication</ h2 >
@@ -109,13 +109,13 @@ <h2 id="api-keys">API Key Authentication</h2>
109109OPENANALYST_AUTH_TOKEN=your-openanalyst-key
110110OPENANALYST_BASE_URL=https://api.openanalyst.com/api
111111
112- < span class ="token-comment "> # Anthropic / Claude (or use OAuth: openanalyst login --provider anthropic) </ span >
112+ < span class ="token-comment "> # Anthropic / Claude</ span >
113113ANTHROPIC_API_KEY=sk-ant-api03-...
114114
115- < span class ="token-comment "> # OpenAI / GPT / Codex (or use OAuth: openanalyst login --provider openai) </ span >
115+ < span class ="token-comment "> # OpenAI / GPT / Codex</ span >
116116OPENAI_API_KEY=sk-...
117117
118- < span class ="token-comment "> # Google Gemini (or use OAuth : openanalyst login --provider gemini )</ span >
118+ < span class ="token-comment "> # Google Gemini (also supports API Key : openanalyst login)</ span >
119119GEMINI_API_KEY=AIzaSy...
120120
121121< span class ="token-comment "> # xAI / Grok</ span >
@@ -146,7 +146,7 @@ <h2 id="resolution">Provider Resolution Order</h2>
146146 < h2 id ="credentials-file "> Credentials File</ h2 >
147147 < p > After < code > openanalyst login</ code > , tokens are saved to:</ p >
148148 < pre > < code > ~/.openanalyst/credentials.json</ code > </ pre >
149- < p > This file contains OAuth access tokens, refresh tokens, and expiry timestamps. It is automatically managed — you should not edit it manually.</ p >
149+ < p > This file contains API Key access tokens, refresh tokens, and expiry timestamps. It is automatically managed — you should not edit it manually.</ p >
150150
151151 < div class ="callout callout-warning ">
152152 < div class ="callout-title "> Warning</ div >
@@ -168,5 +168,5 @@ <h2 id="logout">Logging Out</h2>
168168 </ main >
169169 </ div >
170170< script src ="../version.js "> </ script >
171- < footer style =" text-align:center;padding:32px;color:#6b6966;font-size:12px " > © 2026 OpenAnalyst Inc. All rights reserved. OpenAnalyst is a registered trademark of OpenAnalyst Inc. Contact: support@openanalyst.com </ footer > < /body >
171+ </ body >
172172</ html >
0 commit comments