Skip to content

Commit 68cccad

Browse files
committed
docs(auth): document grok oauth flow
1 parent a105641 commit 68cccad

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ docker-git auth grok login --web
2929
```
3030

3131
Grok support uses the official xAI CLI installer from `https://x.ai/cli/install.sh`
32-
and the CLI device-code login flow. API-key auth can also be stored under the
33-
selected Grok account label via `GROK_DEPLOYMENT_KEY`, `GROK_API_KEY`, or
34-
`XAI_API_KEY`.
32+
and runs the interactive `grok login` OAuth/browser flow inside the auth
33+
container. Open the sign-in URL printed by the CLI, complete browser consent,
34+
and, if the local callback cannot connect, paste the returned callback URL into
35+
the prompt. On success docker-git writes the normalized Grok credentials under
36+
the selected Grok account label and fixes account-file permissions. API-key auth
37+
can also be stored under the selected Grok account label via
38+
`GROK_DEPLOYMENT_KEY`, `GROK_API_KEY`, or `XAI_API_KEY`.
3539

3640
## CLI пример
3741

0 commit comments

Comments
 (0)