Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/docs/infra/login.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ lpm whoami --registry https://registry.example.com
```

`--registry` selects the browser-login service. `--login-registry` instead stores a token for an npm-compatible registry.
A trailing slash doesn't change the registry: `https://registry.example.com/` and `https://registry.example.com` share one login. A login that an earlier release stored under the slashed spelling moves to the shared key the first time LPM CLI reads it, unless the shared key already holds a login. Clearing the shared key's login, as `lpm logout` or a rejected session does, removes the slashed login too.

The authorization-code exchange has a 30-second timeout and refuses redirects. If it fails, correct the registry connection and restart login.

Expand Down