← Back to release summary

Device Bound Session Credentials (DBSC) JavaScript API

Category
Security
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Allows websites and Identity Providers to synchronously check the registration state of a Device Bound Session Credentials (DBSC) session. DBSC provides cryptographic protection against account hijacking by binding sessions to the user's device, but currently relies on asynchronous HTTP headers. This API provides deterministic guarantees of session establishment before granting access, enabling secure SSO handoffs and synchronous cookie issuance

Motivation

When a server instructs the browser to start a DBSC session via HTTP headers, the frontend application is unaware of exactly when this registration completes. This asynchronous gap leads to two main challenges: 1. Premature Cookie Issuance: Relying Parties (RPs) must issue unbound authentication cookies immediately or implement complex polling mechanisms to wait for registration. 2. SSO Handoff Vulnerabilities: An Identity Provider (IdP) completing a login flow may redirect the user back to the RP before the IdP's own DBSC session is fully registered on the device.

Standards & signals

Ecosystem

Explainers: https://github.com/explainers-by-googlers/dbsc-js-api

View on chromestatus.com