Skip to Content
Bryfo Docsv0.2.1
Interactive OpenAPI

Authentication

Session auth, TOTP 2FA, OIDC SSO, and 10-minute X-Bryfo-Step-Up elevation.

POST
/api/v1/auth/step-up

Authorization

SessionCookie
cookiebryfo_session<token>

HttpOnly, SameSite=Lax session cookie (7-day sliding TTL, 30-day cap).

Request Body

application/json
  1. body
password?string
totp_code?string
recovery_code?string

Response Body

Step-up token minted

Example Request
curl -X POST 'https://mail.example.com/api/v1/auth/step-up' \  --cookie 'bryfo_session=' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty