How it works
User opens the login page
Your extension calls
client.openLoginPage(), which opens the crxbase login page in the browser.getUser(), etc.) work with the authenticated session.
Session details
| Property | Value |
|---|---|
| Session duration | 90 days |
| OTP expiry | 10 minutes |
| OTP request limit | 5 codes per 10 minutes/email |
Handling expired sessions
When a session expires,getUser() returns null. Check for this and prompt the user to log in again:
Logging out
Callclient.logout() to clear the user’s session:

