OpenID Connect · OAuth 2.0 · Four eyes
Who signs in.
What goes live.
keybe signs your users in to your apps with standard OpenID Connect, and puts a phone between your team and production: a sign-in, a release or a change of configuration waits until the right people approve it.
PKCETest users in devNumber matchingTwo-person approvalsOne level per client
01 · Sign-in
Standard sign‑in in every environment
Each environment of your project is an OpenID provider: discovery, authorization code with PKCE, refresh tokens that change at every use, client credentials for backends. Any OpenID Connect library signs in, and so does Postman.
- In development, your test users are chosen from a list, without a password.
- In production they sign in with their password: choosing is never offered there.
- Next to it, each client gets its own API key per environment, shown once and kept as a hash.
# Point any OpenID Connect library at it
https://keybe.dev/{project}/{env}/.well-known/openid-configuration
02 · Four eyes
Nothing reaches production alone
Protect an environment, and every promotion into it and every change of its configuration waits for approvals given on phones. The phone shows exactly what changes, and the person who asks never approves their own request.
- Production, for example: two approvals from owners or admins, set once in the project.
- Changing or lifting that protection waits for the same approvals.
- A client's new keys and secrets can wait for a second person too.
- Any step of your own can ask: a release, a payment run.
03 · Security levels
One word per client
Choose a level for each client in each environment. keybe enforces everything that follows from it.
| Level | Development | Standard | High | Four eyes |
|---|---|---|---|---|
| Users sign in | Chosen from a list, no password | With their password | Password, again after 12 hours | As High |
| Redirects | https, localhost, app scheme | https, localhost, app scheme | https or app scheme | As High |
| PKCE | Public clients | Public clients | Every client | Every client |
| Tokens | 1 hour; refresh 30 days | 1 hour; refresh 30 days | 15 minutes; 24 hours from sign-in | As High |
| API keys | Any | Any | IP ranges, rotated within 90 days | As High |
| Changes | At once | At once | At once | Wait for a second person |
| In production | Never | Yes | Yes | Yes |
04 · The keybe app
Your team's phone is the second key
Scan the QR code
In keybe, Phones → Pair a phone. The code works once, for five minutes. The phone makes its own key pair and keybe keeps only the public half.
Sign in as usual
After the password, the browser shows a two-digit number and waits up to two minutes.
Choose the number
The phone offers three. Only the browser shows the right one, so a sign-in someone else started cannot be approved by tapping yes.
Face ID, then signed
The app asks for Face ID, Touch ID or the passcode, and signs its answer with the phone's key.
05 · What keybe keeps
Hashes, public keys and a record
Passwords
PBKDF2-SHA256 hashes only. Five failed attempts lock an e-mail for 15 minutes.
Keys and secrets
API keys and client secrets are shown once, then kept as SHA-256 with their first characters.
Phones
The public key only. The private key stays in the phone's Keychain or Keystore and signs every call.
Tokens
RS256, checked on every call. Your users' refresh tokens change at every use; reusing an old one revokes its whole family.
Approvals
Who asked, who answered, from which phone and when, kept for 90 days.
Hardware keys
The phone's key is not in the Secure Enclave or StrongBox yet, and there are no WebAuthn security keys.
06 · Plans
One plan for the whole suite
keybe is one app of the Strims suite. A plan is for your organization and covers every app of the suite and its extras: your members sign in to all of them with one keybe account, and may use the others as well, for configuration, content, data, files, queues, jobs and APIs. Plans differ by the requests a month and the data stored.
Start
Sign your app's test users in, today
Make a project in Strims, add your test users in keybe, point your app or Postman at the discovery address. In development, your users are one click away.