device-login-client

The command-line side of RFC 8628 device sign-in: requests a code, polls for a token and keeps it in a secret store.

Built and tested in the harness, and not in the public repository yet. The install line and the source link appear here when it is.

What it is

device-login-client.

The command-line side of RFC 8628 device sign-in. A tool with no browser of its own requests a device code, shows the person a URL and a short code, then polls the token endpoint until the approval lands. The token goes into a secret store under a profile name and is never printed. The crate holds the polling state machine, logout, and profiles that name a key by reference (keychain or env:VAR); a literal key is refused when the file is read. The HTTP transport and the OS keychain are supplied by the tool. The server half is cratefield-module-device-auth. Native only.

From the crate’s own README.

Ports

DeviceLoginTransport · SecretStore

History

Changelog.

Not released yet. Its changelog starts with its first release.

One of 95 crates in the harness, all of them MIT.