Sessions that stay ended, device limits and agent token fixes
Signing out ends every session for good, a device limit refusal says why, and agents' tokens, consents and metadata documents follow tighter rules.
Improved
6- APISessions your team opens as a user with POST /api/v1/public/token/exchange are now capped at 50 live per user and API key. The exchange still succeeds and ends the oldest past that, never one of the user's own. Session lists, in the console, the SDK and a company's view of its people, now show the newest 200.
- AgentsWhen an agent's metadata document cannot be fetched, BuildBase now waits five minutes before trying again, and one request fetches it while the rest use the copy already held. Before, every request for that agent fetched it again, waiting up to five seconds each, for up to 23 hours. The last good copy still serves for a day after it was fetched.
- AuthenticationSocial sign-in that checks an ID token, such as Sign in with Apple or your own OpenID Connect provider, now fetches the provider's signing keys once at a time, and again at most once a minute for a key it does not hold. A token naming a made-up key no longer makes BuildBase call the provider, and a provider that changes its keys is picked up within a minute.
- AgentsRefresh tokens of OAuth apps are now deleted once they expire, revoked or not, and any refresh token record is deleted two years after it was issued at the latest. No token lives past 365 days, so none that still works is removed.
- PlatformCookie banner answers to POST /api/v1/public/:orgId/consent now have their own limit of 120 a minute per IP address. End users' uploads and a company admin's changes through the SDK now allow 60 a minute per person. Before, all of these shared the 10-a-minute limit for anonymous form posts, counted per address across every organization, so a busy office could lose consent records and have uploads refused.
- TrackingThe hosted sign-in page now sends auth_step_viewed for every screen a person reaches, not once per page load. Before, your funnel lost each screen after the first, such as the code screen after the email screen.
Fixed
9- AuthenticationSigning out everywhere, signing out a device and ending one session now end the session for good. Before, a request arriving while a session was being ended could bring it back, and signing out everywhere could miss sessions it had lost track of. A sign-out that cannot be recorded now fails instead of reporting success.
- AuthenticationWhen a device limit turns a sign-in away, the hosted page now shows the message saying how many devices are allowed, instead of saying the sign-in could not finish. After a second step, the refusal now answers DEVICE_LIMIT_REACHED as the first step does, instead of 403. A refused sign-in no longer counts as a sign-in, so it no longer fires user.logged_in to your webhooks and workflows.
- AuthenticationTurning text-message codes on or off as a second step, or an admin's reset of a person's second step, now shows in their profile at once. Before, the profile could report the old setting for up to an hour.
- AuthenticationChanging a wallet sign-in method's networks, such as turning Solana off, now reaches sign-in at once. Before, sign-in could go on accepting the old networks for up to a day.
- Access controlA role change, block or removal now always stops the tokens the person held before it. A request landing at the same moment could leave them working for up to five minutes. A role change from Directory Sync now also reaches the API keys that person created at once, as a change in the console does, instead of up to five minutes later.
- EnterpriseOn the hosted page, removing a passkey of one of a company's people now needs a passkey sign-in in the last ten minutes that verified the person, as the SDK already required. A passkey sign-in that did not verify them and was finished with a two-step code no longer counts.
- AgentsWhen a company's identity provider approves an AI agent for one of its people, those scopes no longer count as the person's own approval. Before, the person's next approval, or a later one by the identity provider, merged the two, so the agent could get scopes the person never saw on a consent screen. oauth.consent_granted now lists only what the person approved.
- AgentsWhen your Application token URL fails and the token endpoint answers 503 temporarily_unavailable, an agent can now retry with the same refresh token. Before, the retry was taken as a reused token and revoked the connection's refresh tokens, and each failed try left a session open for its full lifetime. An answer from that URL that fails its check is no longer written to BuildBase's logs, since it may hold a working token.
- Self-hostingBuildBase's hourly custom domain cleanup no longer releases a self-hosted installation's sign-in domains. A custom sign-in domain that fails its periodic check is now kept, to be restored once it passes again, however long ago it was verified. One verified before verification dates were recorded used to be deleted.