Google OAuth
Users sign in at/ via Google. After login, the dashboard lets you manage API keys.
Setup
- Go to Google Cloud Console → Credentials
- Create an OAuth 2.0 Client ID (Web application)
- Set the authorized redirect URI to
{HOSTNAME}/auth/google/callback - Set
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRET
Domain Restrictions
Restrict sign-in to specific email domains:API Keys
All/api/v1/* endpoints require a Bearer token.
Generate a Key
Sign in to the dashboard and click “Create API Key”. The full key is shown once — store it securely.Usage
Management Endpoints
| Method | Path | Description |
|---|---|---|
POST | /auth/keys | Create a new API key |
GET | /auth/keys | List your API keys |
DELETE | /auth/keys/{id} | Revoke an API key |
Public Access
Direct file access at/{id} is public — no authentication required. This is by design for CDN and hotlinking use cases.