Skip to content

Authentication Docs ConfusingΒ #110

@pckilgore

Description

@pckilgore

Docs say:

When using file-based storage, ~/.sprites/sprites.json contains:

But when I look at mine after disabling keyring it doesn't look like that at all.

(βœ“) 15:34 [~/gravity/mgmt]
$ sprite org keyring disable

--- Org selector
Keyring usage is already disabled.

(βœ“) 15:35 [~/gravity/mgmt]
$ cat ~/.sprites/sprites.json
{
  "version": "1",
  "current_selection": {
    "url": "https://api.sprites.dev",
    "org": "patrick-kilgore"
  },
  "urls": {},
  "disable_keyring": true,
  "last_version_check": "2026-01-24T13:53:49-06:00",
  "latest_version": "v0.0.1-rc30",
  "users": [
    {
      "id": "974DxVGmwaGRJHOlQ",
      "email": "[SNIP]",
      "config_path": "[SNIP]",
      "token_path": "[SNIP]"
    }
  ],
  "current_user": "974DxVGmwaGRJHOlQ",
  "path_history": {
    "[SNIP]": {
      "url": "https://api.sprites.dev",
      "org": "[SNIP],
      "sprite": "[SNIP]",
      "last_used": "2026-01-24T13:57:30.032213-06:00"
    }
  }
}%

Likewise, cat ~/.sprites/sprites.json | grep api_token per this section doesn't work (obviously, you can see there's no api_token key in the JSON above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions