Sign in with DigitalOcean. No token to paste.
Sign in with DigitalOcean is DigitalOcean's OAuth flow: you approve an app on DigitalOcean's own page, and a public app such as an iPhone app must protect the exchange with PKCE. Duskwatch is an independent iPhone app for DigitalOcean, in development; it signs in only through that page, asks only to view, and keeps actions behind a separate permission you approve.
Updated
- No tokento paste; you approve on DigitalOcean's page
- View onlyis all that sign-in asks for
- Keychainthis device only, never synced to iCloud
- 1 hourper access token; refresh tokens work once
01First launch
Two buttons: sign in, or try it with sample data
The sign-in screen has "Sign in with DigitalOcean", then "Try with sample data" right under it. A short intro comes first, once per install, with Skip on every page.
- 1
A short intro
Its questions are optional and anonymous. Skip them all and nothing is sent.
- 2
"Sign in with DigitalOcean"
Approve view-only access on DigitalOcean's page.
- 3
"Try with sample data"
"Explore every feature with a made-up team. Nothing connects to DigitalOcean."
02No token
Why not paste a token
A personal access token is a secret you copy through the clipboard, often with full access. Duskwatch has no token field, and never sees your password, passkey or two-factor code.
| Personal access token | Duskwatch sign-in | |
|---|---|---|
| Where you approve | Copied from the control panel | DigitalOcean's page |
| What it can do | Often full access, fixed | View only, until you add actions |
| Passes through the clipboard | Yes | No |
| Protected with PKCE | No | Yes |
From DigitalOcean's docs
A personal access token's secret is shown only once, and its scope cannot be edited after creation.
DigitalOcean docs: create a personal access token (external link), verified
Public OAuth clients must use the authorization code flow secured with PKCE, and S256 is the only supported challenge method.
What "full access" means on a token
From DigitalOcean's docs
The Full Access option grants api:write, which is equivalent to all scopes; Read Only grants api:read, which is equivalent to all read scopes.
03Permissions
Sign-in asks only to view. Actions are a separate permission.
The first approval lets the app look. To reboot web-01 or roll back api-prod from the phone, you turn on "Enable actions" and approve a permission that can also act.
| Permission | Held by | Can do | Kept |
|---|---|---|---|
| Sign-in | Your iPhone | View your team | Keychain, this device only |
| After "Enable actions" | Your iPhone, in its place | View, plus the 13 guarded actions | Keychain, this device only |
| Alerts | The alert server, if you turn alerts on | View only | Encrypted, in the EU |
04Keychain
Your permissions stay in this iPhone's Keychain
It is stored "when unlocked, this device only": never synced to iCloud, never restored to another phone, never sent to any server.
Not in widgets
Widgets, Live Activities and Spotlight never read it.
One refresh at a time
A refresh token works once, so the app never runs two at the same time.
Optional Face ID app lock
Face ID when the app opens. The app switcher never shows its contents.
From DigitalOcean's docs
Access tokens for public clients expire after one hour, and each refresh token can be used exactly once.
05Alert server
The alert server gets its own permission, and it can only read
If you turn alerts on, you approve a third permission on DigitalOcean's page, and that one goes to the alert server. The permissions on your iPhone never reach it.
- 1
You approve a view-only permission
For alerts only, encrypted in the EU.
- 2
The server checks what was granted
On every exchange and refresh.
- 3
Anything that can write is thrown out
Rejected, and revoked on DigitalOcean.
The one-time approval when alerts grew to cover more
- If you turned alerts on before they covered Kubernetes, load balancers, certificates and firewalls, the app shows one card per team: "Watch Kubernetes, load balancers, certificates and firewalls."
- The card says: "DigitalOcean asks you once more to allow read-only access. Your alert history and settings stay." Its buttons are Allow and Not now.
- Allow opens a sheet saying the server can still only look, never touch, armed with "Swipe to continue to DigitalOcean". The new approval replaces the old one.
- If you untick a product on DigitalOcean's page, those alerts stay off. More on push alerts.
06Revoke
Revoke it on DigitalOcean at any time
Sign out in the app, or revoke Duskwatch from DigitalOcean's control panel, even without the phone. The full policy is on the security page.
"Swipe to sign out of acme-prod"
Revokes that team's access and clears its data here.
From DigitalOcean
Revoke Duskwatch under authorized applications in the API section.
Alert data
Turning alerts off deletes the server's copy within 24 hours.
What Duskwatch doesn't do here
- No personal access token field, now or as a fallback
- No password, passkey or two-factor code reaches the app
- No write permission on any server
- No sync of permissions to iCloud or another device
Questions
Do I paste an API token?
No. Duskwatch signs in only on DigitalOcean's own page with OAuth and PKCE, and has no token field.
What does sign-in ask for?
Only permission to view your team. Actions need "Enable actions": a separate permission, armed with a swipe and approved on DigitalOcean's page.
Can I look around before signing in?
Yes. "Try with sample data" opens a made-up team with every feature to explore. Nothing connects to DigitalOcean.
Does the alert server get the full permission?
No. It gets its own permission that can only view, and rejects and revokes any permission that could change things. Wider alert coverage widened what it may view, not what it may do.