Skip to content

Authentication

FireScan requires Firebase authentication to test most services. It handles JWT tokens automatically.

Quick start

bash
firescan > auth --create-account

Creates or logs into a test account (fire@scan.com). Token is automatically stored and refreshed.

Methods

Test account (default email)

bash
firescan > auth --create-account

Uses fire@scan.com / password123.

Test account (custom email)

bash
firescan > auth --create-account --email mytest@example.com

Existing credentials

bash
firescan > auth -e user@example.com -P password123

Token management

Tokens are:

  • Automatically stored after authentication
  • Refreshed when expired
  • Used for all subsequent requests

Check token status:

bash
firescan > auth status

Manual refresh:

bash
firescan > auth refresh

Provider enumeration

Discover which auth methods are enabled:

bash
firescan > auth --enum-providers

Output:

├── Provider: password      Status: Enabled
├── Provider: google.com    Status: Enabled
└── Provider: facebook.com  Status: Disabled

Logout

bash
firescan > auth logout

Clears stored credentials and token.

Session persistence

Sessions are saved with:

  • Project ID
  • API Key
  • Credentials
  • Timestamp

Save session:

bash
firescan > save-quit

Resume later:

bash
./firescan --resume

Next