Sign in, and your phone
The sign-in page, at /signin, holds every way into the fleet. Sign in in the top bar opens
it when the page cannot read the fleet. On a phone, Account and devices at the bottom of the
menu opens it at any time.
The ways in
- Your fleet login. On a fleet behind a sign-in proxy (oauth2-proxy and dex), this is the login you already know. Fleet shows it only when a proxy is there.
- A fleet token. Paste a token and press Sign in with token. The page checks it with the
fleet, then keeps it on this device, so you sign in once. Safari and iCloud Keychain offer to
save it like a password. A token is a user token:
fleet token mint --kind cli, or a sign-in link (below). - A sign-in link. On a device that is signed in, open
/signinand press Make a sign-in link. Give the device a name, then open the link on the phone (Copy, or Share to AirDrop or Messages). The link carries a new token in its#token=part. The browser does not send that part to the server, and the page drops it from the address once it has kept the token. The link signs a device in as you: send it only to yourself. It is shown once.
Any page also takes #token=<token> in its address, the same as the sign-in link.
Signed-in devices
When you are signed in, the page lists your tokens (GET /v1/tokens) under Signed-in
devices, with when each was last used. Sign out on a row revokes that token at once
(DELETE /v1/tokens/{id}). Sign out of this device forgets the token here and, behind a
proxy, ends the proxy session.
Only a person's own session makes tokens: a connector token cannot.
Add Fleet to your home screen
In Safari on an iPhone, press Share, then Add to Home Screen. Fleet opens as an app, starts at Chat, and has its own icon. A home-screen app can keep its own storage apart from Safari: if it asks you to sign in, paste the token there.
Not here yet
A username and password login. Fleet binds one identity (issuer and subject) to each person, so a second way to log in through the identity provider needs a change to the registry first.