G
Glean CLI
Details
- Command
-
glean - Docs
- https://github.com/gleanwork/glean-cli/raw/main/README.md
Authentication
OAuth access token issued by Glean OAuth Authorization Server oauth2 discovered
$ glean auth login Acquired by the CLI — running glean auth login opens the auth flow and stores the credential.
env GLEAN_API_TOKEN, GLEAN_SERVER_URL Find your tenant server URL at About Glean. Then in Glean Admin, go to Settings → API Tokens to create a token. Use this token for Client API calls, and for Indexing API calls as the only supported auth method. Global Client API tokens require impersonation with X-Glean-ActAs; user-scoped tokens do not.