do.dev uses secure authentication powered by WorkOS AuthKit.
Sign-In Options
Email & Password
Traditional email and password authentication with secure password hashing.
OAuth Providers
- Google - Sign in with your Google account
- GitHub - Sign in with your GitHub account
Session Management
Sessions are managed securely with:
- HTTP-only cookies
- Automatic token refresh
- Cross-domain support for subdomains
API Authentication
For API access, use API keys:
// Using environment variables (recommended)
const apiKey = process.env.DO_DEV_API_KEY;
// Making authenticated requests
const response = await fetch('https://api.do.dev/v1/resource', {
headers: {
'Authorization': `Bearer ${apiKey}`,
},
});Security Best Practices
Follow these best practices to keep your account secure.
- Use environment variables - Never hardcode API keys
- Rotate keys regularly - Generate new keys periodically
- Use least privilege - Only request permissions you need
- Monitor usage - Check the dashboard for unusual activity
Role-Based Access
do.dev supports different user roles:
| Role | Access Level |
|---|---|
user | Basic dashboard access |
early-adopter | Access to all products |
admin | Organization management |
Next Steps
- API Reference - API authentication details
- Dashboard - Manage your account