The Capsule Security platform provides secure authentication through multiple methods to ensure your AI agent management remains protected.
The platform supports passwordless authentication using Auth0's magic link feature:
Login Flow
- Navigate to the login page
- Enter your email address
- Check your email for a secure magic link
- Click the link to authenticate
- You'll be redirected to the platform dashboard
Session Management
- Sessions are maintained using secure HTTP-only cookies
- Session duration: 24 hours (configurable)
- Automatic session refresh on activity
For enterprise customers, we support custom SSO providers:
Supported Protocols
- SAML 2.0
- OAuth 2.0 / OpenID Connect
- Active Directory Federation Services (ADFS)
Setup Process
- Contact support@capsule.security to initiate SSO setup
- Provide your Identity Provider (IdP) metadata
- Configure attribute mappings
- Test authentication flow with support team
- Deploy to your organization
When accessing the API through the web interface, authentication is handled automatically via session cookies:
// API calls automatically include session cookie
const response = await fetch('/api/v1/agents', {
credentials: 'include',
headers: {
'Content-Type': 'application/json'
}
});For programmatic API access, use Bearer tokens:
# Include the token in the Authorization header
curl -H "Authorization: Bearer YOUR_JWT_TOKEN" \
https://api.capsule.security/api/v1/agentsRetrieve current session details:
GET /api/v1/auth/session
Response:
{
"userId": "user_123",
"email": "user@example.com",
"name": "John Doe",
"tenants": {
"tenant_1": {
"roles": ["admin", "viewer"]
}
},
"tenantIds": ["tenant_1", "tenant_2"],
"organization": {
"id": "org_123",
"name": "Acme Corp"
}
}The platform supports multi-tenant architecture:
- Users can belong to multiple tenants
- Role-based access control per tenant
- Tenant isolation for data security
- Cross-tenant agent visibility (with permissions)
Session Security
- Sessions expire after 24 hours of inactivity
- Secure, HTTP-only cookies prevent XSS attacks
- CSRF protection on all state-changing operations
Password Requirements (for SSO providers)
- Minimum 12 characters
- Mix of uppercase, lowercase, numbers, and symbols
- Regular password rotation policies
API Token Management
- Rotate API tokens regularly
- Use environment variables for token storage
- Never commit tokens to version control
- Implement token expiration policies
Magic Link Not Received
- Check spam/junk folders
- Verify email address is correct
- Ensure your domain allows emails from auth0.com
- Contact support if issues persist
SSO Login Failures
- Verify SSO configuration with your IT team
- Check IdP is properly configured
- Ensure user has proper permissions
- Review SAML assertions for errors
Session Expiration
- Sessions expire after 24 hours
- Re-authenticate when prompted
- Check browser cookie settings
For authentication issues or SSO setup:
- Email: support@capsule.security
- Include your organization ID and error messages
- SSO setup typically requires 2-3 business days