Febasidocs
Login & sessions

Overview

The login → refresh → logout lifecycle, plus the admin operations on top of it.

A session in Febasi Auth is the lifetime of a refresh token. Every successful login opens one; every logout closes one; rotations replace one without a gap. This topic walks the full lifecycle and covers the admin operations that let you inspect and end sessions on someone else's behalf.

The lifecycle in one picture

POST /login        ──▶  access token (15m) + refresh token (7d)  ──▶  app stores both

                                                                      │ access token expires

POST /refresh      ──▶  new access token + new refresh token       ──▶  old refresh token revoked

                                                                      │ user signs out

POST /logout       ──▶  refresh token revoked                       ──▶  no future refresh

Defaults are tenant-configurable. Token lifetimes, max concurrent sessions, and the eviction behavior all live under authConfig and rotate per tenant.

What's in this topic

On this page