Changelog
Changelog
What changed for an app connected to Otoko Identity, newest first. Each release is named for its pass, as there are no version numbers yet. Changes that nothing in your app can see aren't listed.
Note
Unreleased is still in progress, and may change before it ships.
20 Nov 2026: signing secrets, Android passkey origins and expiring sign-ups
Merged into main on 20 Nov 2026, from a security review. Migrations 0053 to 0056 come with it.
Added
- A webhook signing secret per app, apart from the webhook secret, made and rotated under Webhook signing secret on the app's Security tab. It signs
account.created, and is shown once aswhsec_and base64: the key is the base64-decoded bytes afterwhsec_, as Standard Webhooks libraries read it. Until an app has one, it's signed with the webhook secret's own bytes, as before. A rotation keeps the previous secret signing beside the new one for 7 days, and Retire now stops it within about a minute. See Verify its signature. - Android passkey origins per mobile client, on its Clients tab, required on a new mobile client with passkeys on, so its passkeys answer only to its own Android app. New error codes
passkey_origin_requiredandinvalid_passkey_origin. See Mobile apps.
Changed
- A sign-up nobody verifies expires. With Verify email on, an account Otoko Identity's own sign-up made that is still waiting for its code a day later is deleted, so the address is free again. See Account flows.
Unreleased: registration callbacks and sign-up fields
Merged into main on 20 Nov 2026. Migrations 0050, 0051 and 0052 come with it.
Added
- The
account.createdevent, atPOST /internal/v1/account-createdon your backend, once per app and person: when sign-up's code verifies the address, at sign-up with Verify email off, after a provider sign-up and when an invitation is accepted. Never for an account your backend made itself. It's signed with Standard Webhooks'webhook-id,webhook-timestampandwebhook-signature, alongside the bearer header, tried again for about 31 hours, then kept 30 days for a replay from the app's Webhook deliveries. See When someone signs up. - Making your user on its first request, from
/oauth/userinfo, upserted bysub: the recommended place for every app. See Create your user on its first request. - If the backend can't be reached, per app, under Login on its Overview tab: Refuse sign-in, the default and every existing app's, or Allow sign-in, which records
sign_in_check.skippedand asks the sign-in check again at the session's next refresh. See If the backend can't be reached. - Required actions for new accounts, per app, which Otoko Identity adds to every account it makes for the app. See Required actions for new accounts.
- Sign-up fields, per app, under Login on its Overview tab: Phone number at sign-up and Date of birth at sign-up, each Off, the default, Optional or Required. Otoko Identity's sign-up form shows them to match. They reach your app in
account.created, and from/oauth/userinfo:phone_numberandphone_number_verifiedwith the newphonescope, andbirthdatewithprofile. See Sign-up fields. account.createdsays how the sign-up check went, insign_up_check:passed,skippedornot_asked. It also carriesphone_numberandbirthdate, null unless given. Ignore fields your receiver doesn't know.- One webhook delivery, at
GET /api/admin/apps/{app_id}/webhook-deliveries/{id}, and a replay's 202 points there inLocation. - New error codes:
invalid_required_action,backend_requiredfor Allow sign-in on an app with no backend, and at sign-upfield_required,invalid_phone_numberandinvalid_birthdate.
Changed
- The sign-in check is waited for 3 seconds, down from 5. A circuit breaker per app stops calling a backend for 60 seconds after 5 failures in a row within 60 seconds. Make it read-only: your backend makes its user on the first request.
- The sign-up check follows the outage policy too. Under Allow sign-in, no answer, a 5xx or an open breaker lets the sign-up go on, recorded as
sign_up_check.skipped. Under Refuse sign-in it still fails closed with 503, as before. A refusal from your backend always refuses. - Discovery lists the
phonescope and thephone_number,phone_number_verifiedandbirthdateclaims.phonecan no longer be one of a client's client credentials scopes. - Connect an app offers one Web app choice, in place of Web app in the browser and Web app with its own server. It asks Does your app run server code when someone signs in?: Yes, the default, makes a
confidentialclient whose server keeps the client secret, and No makes apublicone, with PKCE only, for static sites. Signing in from your server is recommended for new apps. Step 1 now asks Does your app have an API that Otoko Identity calls? as Yes or No, Yes to start with, meaning your backend, not the server that shows your pages. A new app's first client is nowconfidential, as<app id>-server, where it waspublic, as<app id>-web, which No still makes. The kit's Frontend section then has a Client secret row, to send with HTTP Basic authentication at the token endpoint, and its warning names it with the other secrets shown only now. The API's client types and existing clients are unchanged. See Which kind of app? - The Connect an app kit is split into Frontend, Backend (or Server) and Mobile app sections, each with its own Copy all; the single Copy all is gone. See Register the app.
- Connect an app asks for the app's own mail server when it doesn't send through Otoko Identity's, saves it once the app is made, and offers a test email in the kit. See Register the app.
Pass 5, 18 Nov 2026
On the feature branch, and not deployed yet. Migrations 0047, 0048 and 0049 come with it.
Added
- A backend is optional. Connect an app has This app has no backend, and the app's Overview tab has No backend. Such an app gets no calls, has its roles set in the console, and can't have a mobile client. See Register.
- Otoko Identity's own sign-up, email verification, forgot password and invitations, on its own pages, for any app whose account flows are Identity's own, the default. OCharge's stay its backend's, and there Otoko Identity's routes for them answer 403
flow_not_offered. See Sign-up and invitations. - Invitations by email, from the app's Users & roles tab or from your backend at
POST /internal/v1/invitations, withGET, a resend atPOST /internal/v1/invitations/{id}/emails, andDELETEto revoke. The person types their own names and password when they accept. - Asking your backend before a sign-up, off by default: with Ask the backend before sign-up on, a sign-up first calls
POST /internal/v1/sign-up-checkwith{email, client_id, method}, and fails closed with 503. See Asking before a sign-up. - Otoko Identity's own mail server, chosen per app, with Send this app's emails through Otoko Identity's mail server on the app's Email tab. Ticked, every email of the app goes through it, from Otoko Identity's own address, with the app's reply-to. An app made with Connect an app starts ticked, and apps already there stay on their own server. See The app's emails.
- New error codes:
flow_not_offered,sign_up_refusedwith areason,account_exists,backend_required, and the app delete's reasoninvitations_pending_cleanup. - Quickstarts, a page for each kind of app: front end only, a server app that only signs people in, a front end with a separate backend, a full-stack app, a mobile app through your backend, and server to server with nobody signed in. Each has the console steps, the packages, the code for several frameworks in tabs, and how to check it works. See Quickstarts.
Changed
- A right password for an email still to verify answers as a wrong one, on an app whose account flows are Identity's own:
POST /internal/v1/sessions/passwordanswers 401invalid_credentialsrather than 403account_setup_incomplete, as anyone could have signed the address up with a password of their own. OCharge's is unchanged. - An app's own From address is optional while it sends through Otoko Identity's mail server. On its own server, an app with none answers 422
sender_required. - An app with an open invitation can't be deleted: 409
app_in_usewith the reasoninvitations, so revoke it first.
Pass 4d, 16 Nov 2026
Merged on the feature branch on 16 Nov 2026, and not deployed yet. Migrations 0045 and 0046 come with it.
Added
Idempotency-Keyon passkey add, from the pages,POST /api/passkeys, and from an app's backend,POST /internal/v1/passkeys. A retry with the same key after a lost answer replays the first answer and adds no second passkey. OCharge's backend passes on its caller's key. The kept answer, with the passkey's name, stays in Redis for a day.- CORS allows
Authorizationfor the browser origins already allowed, so a browser app can send its access token asAuthorization: Bearerto/oauth/userinfo, rather than in the form body. - An OpenAPI file,
docs/openapi.json, written at build time and kept in the repository, with a CI check that fails when it's out of date. It is never served. - A GET where a
Locationpoints.GET /internal/v1/identities/{id}andGET /internal/v1/passkeys/{id}read back what was created, scoped to the app and the person. - Whether an email went. A code or set-password email's 202 names it in
Location,/internal/v1/emails/{email_id}, withRetry-After: 2, and that GET says pending, sent or failed.
Changed
- One Google and one Microsoft sign-in provider per app. A second answers 409
provider_type_taken. Generic OpenID Connect providers stay open to several, as each is a different organisation's sign-in. Migration0046stops, naming the app, if any app already has two of one kind. MAX_LIVE_SIGN_INS_PER_PERSONis at most 150, down from 1,000, and still 50 by default. A deployment set above 150 stops at start-up until it's lowered.- Admin searches without a run of 3 letters or digits, such as
e.dor%%%, are refused with 422 on the Events, Sessions and Users lists, with a hint on the admin screens. - An Events search for a term held by more than 10,000 people walks a bounded number of events and answers a short or empty page with a
next_cursor, where it used to time out with a 500. Keep followingnext_cursorrather than stopping at an empty page. - A row held by another write past 3 seconds answers 503
resource_busywithRetry-After: 1, not 500, so a backend knows to try again. - A created identity answers
{id, created_at}, the shape a find answers. - The admin's second-factor verification and removal answer 204, with no body, and the sign-out-everyone job's
Locationis a path. - nginx's own 413, 429, 502, 503 and 504 answers are problem details, with a
code, the request id and, on a 429,Retry-After, as the API's own are. nginx no longer names its version.
Deprecated
- The passkey paths with verbs get noun paths, with
Deprecationnaming 16 Nov 2026,Sunset: Mon, 01 Feb 2027and aLinkto the successor:- the backend's
POST /internal/v1/sessions/passkey/startand/finishbecome/passkey-challengesand/passkey-assertions; - the pages'
/api/sign-in/passkey/start,/finishand/passkey-offer/finishbecome/passkey-challenges,/passkey-assertionsand/passkey-offer-answers.
- the backend's
Fixed
- A 500 keeps the connection open, where it used to reset it, so a keep-alive client's next request no longer fails, and its log line carries the request id.
- Microsoft sign-in caches the tenant's signing keys for 5 minutes, about 100 ms faster per sign-in, and refetches once for a key it doesn't know, so a rotated key still works.
- Faster under load: sign-ins no longer hold a database connection while waiting on Redis, and app deletes, admin searches and the background sweeps are much quicker at production size.
Pass 4b, 13 Nov 2026
Added
- Confidential dashboards. A browser app with a server of its own can be a confidential client: its server sends the client secret at the token endpoint, and retiring the secret stops its sign-ins and refreshes at once. OCharge's dashboards keep it in
IDENTITY_CLIENT_SECRET, on the server only. See Register for client types.
Changed
- A logout without
id_token_hintasks first. The end session endpoint with no hint, or another person's, ends nothing, and shows a sign-out page that asks, as Keycloak does. Send the ID token asid_token_hintto sign out at once, as the flow says. People signed in before this release see the page once. - The code lock works like Keycloak's. Wrong emailed codes count over 12 hours. Ten from one address at one person lock that address for the rest of the hour. A hundred from every address together lock the person for 15 minutes, doubling with each further lock, never past an hour. Each 429 says the time really left. Real and unknown addresses answer alike, on the sign-in pages and on your backend's code checks.
- Ending all sessions refuses what came before. A password change, a disable, a delete or your backend's
session-endscall for a person makes refresh tokens issued before it fail, and a sign-in through your backend that checked the password or passkey before it gets no tokens.
Pass 4, 13 Nov 2026
Changed
-
Paths name nouns. Each old path answers for one more release, as its new one does, errors too, with
Deprecationsince 13 Nov 2026,Sunset: Mon, 01 Feb 2027 00:00:00 GMTand aLinkto the new path. Move to the new paths before the Sunset date, when the old ones go.Old New POST /internal/ v1/ identities/ {id}/ end-sessions POST /internal/ v1/ identities/ {id}/ session-ends POST /internal/ v1/ identities/ {id}/ code/ verify POST /internal/ v1/ identities/ {id}/ code-checks POST /internal/ v1/ sessions/ check-password POST /internal/ v1/ sessions/ password-checks POST /internal/ v1/ sessions/ refresh POST /internal/ v1/ sessions/ refreshes POST /internal/ v1/ sessions/ logout POST /internal/ v1/ sessions/ sign-outs POST /api/ sign-in/ email-check POST /api/ sign-in/ email-checks POST /api/ password/ check-link POST /api/ password/ link-checks POST /api/ password/ set POST /api/ password/ changes -
404 link_expiredfor a dead set-password link, used, expired or made up, all alike, where it was 410. Read it by its code. -
Set-password links are spent when a person's sessions end: after a password change, a disable or
session-ends, a link still open answers404 link_expired. -
A browser logout ends every session from that browser, whichever client of the app, as Keycloak's does, and your backend hears of each through
session-ends. -
A rotated refresh token may be reused once, within its 10-second grace. A second reuse ends the whole session, so refresh one at a time.
-
Some characters are refused in an email.
POST /internal/v1/identitiesrefuses an address holding,;:<>()[]"or\with 422, as Keycloak does. Check addresses in your own sign-up first. -
Code checks take the visitor's address. Your backend's code checks and
unknown-addresses/code-failurestake an optionalclient_ip, the address your backend saw. Without it, every call from your backend counts as one address. -
Codes keep to their purpose. A code your backend asked for, and one Otoko Identity sent for a sign-in's code step or a passkey check, never pass for each other.
-
Linking an identity provider by email needs a verified account with no link at that provider yet.
Added
- Retire an API key now. Rotating the app's API key can stop every earlier key at once, for a leaked key, rather than after 7 days.
- Android origins per mobile client, so a passkey made in one tenant's Android app can't sign in to another's. See Mobile app.
Pass 3, 12 Nov 2026
Changed
- The email step answers every address alike, and the email gate is off by default. Your backend's sign-in check, after the password, decides. See Roles and the email gate.
- A sign-in in progress takes calls only from the sign-in pages, the extra allowed origins and its own app's redirect origins, so one app's page can't drive another app's sign-in.
- Answer Otoko Identity uncompressed, within 64 KiB. A larger or compressed answer from your backend is refused, which fails that sign-in or call.
- Sign-in limits refuse by default, and count each visitor's own address.
- An old refresh token ends nothing. At the end session and revocation endpoints, a refresh token rotated past its grace, or already ended, no longer signs out the live session.
- A sign-in or passkey add under way when the person's password is set, or they're disabled, is refused.
Added
- A cap on live sign-ins a person, 50 by default: past it, a new sign-in ends the oldest, and your backend hears of it.
If something here breaks your app, Troubleshooting lists what each error means.