Overview
IncidentFox supports multiple authentication methods:- Team Tokens - For programmatic team access
- Admin Tokens - For organization administration
- OIDC/SSO - For user authentication via identity provider
Team Tokens
Team tokens provide access scoped to a specific team within an organization.Token Format
tokid- Token identifier (public)toksecret- Token secret (keep secure)
Usage
Include in theAuthorization header:
Obtaining Tokens
Team tokens are issued by your organization admin:- Admin logs into Web UI
- Navigates to Admin Console > Teams
- Selects team and clicks Generate Token
- Token is displayed once - save it securely
Token Permissions
Team tokens can:- Read team configuration
- Update team configuration
- Trigger investigations
- View investigation history
- Access other teams
- Modify organization settings
- Create/delete teams
Admin Tokens
Admin tokens provide organization-wide access.Permissions
Admin tokens can:- Manage all teams
- View audit logs
- Configure organization settings
- Create/revoke team tokens
Usage
OIDC/SSO Authentication
For user-based authentication via your identity provider.Configuration
Configure OIDC in organization settings:Supported Providers
- Google Workspace
- Azure AD
- Okta
- Auth0
- Generic OIDC
JWT Token Usage
After OIDC authentication, use the JWT:Identifying the Caller
Use the/auth/me endpoint to identify the authenticated user/team:
Token Security
Best Practices
- Store securely - Use secrets managers
- Rotate regularly - Rotate tokens periodically
- Use least privilege - Use team tokens when admin isn’t needed
- Monitor usage - Review audit logs for anomalies
- Revoke unused - Revoke tokens when no longer needed
Token Revocation
Admins can revoke tokens:Error Handling
Invalid Token
Expired Token
Insufficient Permissions
Next Steps
Run Agent
Trigger investigations
Get Config
Read team configuration

