Skip to main content

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 the Authorization header:

Obtaining Tokens

Team tokens are issued by your organization admin:
  1. Admin logs into Web UI
  2. Navigates to Admin Console > Teams
  3. Selects team and clicks Generate Token
  4. Token is displayed once - save it securely

Token Permissions

Team tokens can:
  • Read team configuration
  • Update team configuration
  • Trigger investigations
  • View investigation history
Team tokens cannot:
  • 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:
Response:
For OIDC users:

Token Security

Treat tokens like passwords. Never commit to version control or share publicly.

Best Practices

  1. Store securely - Use secrets managers
  2. Rotate regularly - Rotate tokens periodically
  3. Use least privilege - Use team tokens when admin isn’t needed
  4. Monitor usage - Review audit logs for anomalies
  5. 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