# The Sypnia session

> One Sypnia account in the browser and in git, without passwords or pasted tokens.

Applies to: Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/access/sypnia-session/

For agents: Sign-in with the Sypnia account at auth.sypnia.com (OIDC) in the browser. For git over HTTPS, `npx @sypnia/git login` (device flow) installs a git credential helper (`git-credential-sypnia`) that hands git a short-lived token (1 h, refreshed from the DPoP-bound session in ~/.config/sypnia, mode 600). Roll-in: first visit adds Git to the account. Sign out revokes the session and its tokens.

Sypnia Git uses the same account as every Sypnia product, at `auth.sypnia.com`. The first time you open it, Git is added to your account.

## In git, without passwords

```bash
npx @sypnia/git login
```

You approve a code in the browser. The CLI installs a **credential helper** for `git.app.sypnia.com`: each time git needs to authenticate, the helper gives it a token that lasts one hour, renewed from your session. You never type or paste a password or a token.

The session lives in `~/.config/sypnia/` (mode 600) and is bound to a key on your machine. **Sign out** (`npx @sypnia/git logout`, or Account → Devices) revokes it and every token it issued.
