Skip to content

Authentication

ATS Screener picks one of three sign-in modes automatically from your environment. You don’t toggle anything in code or in the UI; setting the relevant variables is what turns a mode on.

ModeTurn it on withSign-inScan historyBest for
Anonymousleave Firebase and LDAP unsetnone, the scanner is openbrowser localStoragepersonal / single-user installs
Firebaseset PUBLIC_FIREBASE_PROJECT_ID (+ keys)Google or email/passwordFirestore, synceda hosted-style instance with accounts
Active Directoryset LDAP_URL (+ service account)AD username + password (on-prem)per user, localStoragea company on its own network

If more than one is configured, the precedence is Active Directory > Firebase > anonymous. The public instance at ats-screener.vercel.app uses Firebase; it never sets LDAP_URL, so the Active Directory UI never appears there.

The default. Leave every PUBLIC_FIREBASE_* variable and LDAP_URL unset and the app runs fully local:

  • The scanner is open, no account required.
  • Scan history is saved to the browser’s localStorage (capped at 5, newest first).
  • The Sign In button and /login are hidden / redirect away, and the Firebase SDK is never imported.

This is the simplest way to self-host. Trade-off: history lives in one browser and isn’t synced across devices.

Set the six PUBLIC_FIREBASE_* variables (from Firebase Console, see Configuration) to get Google and email/password sign-in plus cross-device history in Firestore. This mirrors the hosted instance. Detection is a single signal: a non-empty PUBLIC_FIREBASE_PROJECT_ID.

The app connects to a Firestore database named default (not the console’s (default)), so create it under that name. Then deploy the bundled security rules, which validate every write the app makes and reject everything else:

Terminal window
firebase deploy --only firestore:default --project <your-project-id>

Target the database explicitly. --only firestore:rules matches nothing with the per-database firebase.json and still reports “Deploy complete”.

For self-hosters on a corporate network: users sign in with their existing AD account, the scanner sits behind that login, and access can be restricted to a group. This is server-side and only activates when LDAP_URL is set. See the dedicated Active Directory guide for setup.

The LLM provider chain (cloud Gemini/Groq, or local Ollama) is independent of which auth mode you pick. Configure providers in Configuration; they work the same whether sign-in is anonymous, Firebase, or Active Directory.