Authenticate a browser
POST
Verify the bearer capability and the Origin against the application's registered origins carried in its signed claims. Set a host-only partitioned cookie with Secure, HttpOnly, SameSite=None and Path=/. The cookie expires with the capability. Send credentials with the request, then verify cookie return before reading data.
bearerAuthheader
AuthorizationBearer <token>Browser authentication established.
application/json- response
expiresAt*integerExpiry in Unix seconds.
curl -X POST 'https://scandal.spiraldb.dev/browser'{ "expiresAt": 0}