Auth Apps
Manage authentication services for your applications (Firebase Auth alternative). All endpoints require Authorization: Bearer TOKEN.
Create Auth App
POST /api/v1/auth-appsBody:
{
"name": "My App Auth",
"project_id": "prj_abc123",
"providers": {
"email": true,
"google": true,
"github": true
}
}List Auth Apps
GET /api/v1/auth-appsGet Auth App
GET /api/v1/auth-apps/:idUpdate Auth App
PUT /api/v1/auth-apps/:idBody: Any fields from the create request.
Delete Auth App
DELETE /api/v1/auth-apps/:idGet Statistics
GET /api/v1/auth-apps/:id/statsResponse: 200
{
"total_users": 1542,
"active_users": 890,
"logins_today": 87,
"signups_today": 12
}Rotate Signing Keys
Invalidates all existing user tokens.
POST /api/v1/auth-apps/:id/rotate-keysList Users
GET /api/v1/auth-apps/:id/users?page=1&limit=20&search=john| Parameter | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Page number |
limit | number | 20 | Results per page |
search | string | — | Search by name or email |
Disable / Enable User
POST /api/v1/auth-apps/:id/users/:userIdBody:
{
"action": "disable"
}Actions: disable, enable
Delete User
DELETE /api/v1/auth-apps/:id/users/:userId