Files
wehub-resource-sync 0d3cb498a3
CI / Shell Format Check (push) Has been cancelled
CI / Check Ruby (3.4) (push) Has been cancelled
CI / CI Config (push) Has been cancelled
CI / Test on Node ${{ matrix.node }} and ${{ matrix.os }}${{ matrix.shard && format(' (shard {0}/3)', matrix.shard) || '' }} (push) Has been cancelled
CI / Build on Node ${{ matrix.node }} (push) Has been cancelled
CI / Style Check (push) Has been cancelled
CI / Generate Assets (push) Has been cancelled
CI / Check Python (3.14) (push) Has been cancelled
CI / Check Python (3.9) (push) Has been cancelled
CI / Build Docs (push) Has been cancelled
CI / Code Scan Action (push) Has been cancelled
CI / Site tests (push) Has been cancelled
CI / webui tests (push) Has been cancelled
CI / Run Integration Tests (push) Has been cancelled
CI / Run Smoke Tests (push) Has been cancelled
CI / Go Tests (push) Has been cancelled
CI / Share Test (push) Has been cancelled
CI / Redteam (Production API) (push) Has been cancelled
CI / Redteam (Staging API) (push) Has been cancelled
CI / GitHub Actions Lint (push) Has been cancelled
CI / Check Ruby (3.0) (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / build (push) Has been cancelled
release-please / publish-npm (push) Has been cancelled
release-please / publish-npm-backfill (push) Has been cancelled
release-please / docker (push) Has been cancelled
release-please / publish-code-scan-action (push) Has been cancelled
release-please / attest-code-scan-action (push) Has been cancelled
Deploy local.promptfoo.app / Deploy to Cloudflare Pages (push) Has been cancelled
Test and Publish Multi-arch Docker Image / test (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-amd64 platform:linux/amd64 runner:ubuntu-latest]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-arm64 platform:linux/arm64 runner:ubuntu-24.04-arm]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / merge-docker-digests (push) Has been cancelled
Test and Publish Multi-arch Docker Image / Attest Multi-arch Image (push) Has been cancelled
Validate Renovate Config / Validate Renovate Configuration (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:24:08 +08:00

3.3 KiB

sidebar_label, sidebar_position, title, description, keywords
sidebar_label sidebar_position title description keywords
Authentication 10 Authenticating into Promptfoo Enterprise Configure enterprise authentication with SSO providers, API keys, service accounts, and CLI access for secure team collaboration
authentication
login
logout
promptfoo enterprise
promptfoo app
sso
saml
oidc

Authentication

Setting Up SSO

Promptfoo Enterprise supports both basic authentication and SSO through SAML 2.0 and OIDC. To configure SSO with Promptfoo Enterprise, reach out to the support team with your IdP information and the Promptfoo team will configure it. The authentication endpoint is auth.promptfoo.app.

Basic Authentication

Promptfoo Enterprise supports basic authentication into the application through auth.promptfoo.app. When an organization is created, the global admin will receive an email from Promptfoo Enterprise to log in. Users, teams, and roles will be created in the Organization Settings of the Promptfoo Enterprise application, which is detailed further in the Teams documentation.

You can also authenticate into the application using a magic link. To do this, navigate to auth.promptfoo.app and click the "Login with a magic link" button. You will receive an email with a link to log in. If you do not receive an email, please be sure to check your spam folder.

Authenticating Into the CLI

You may wish to authenticate into the CLI when using Promptfoo Enterprise. Follow these steps to connect Promptfoo Enterprise to the CLI.

  1. Install the Promptfoo CLI. Read getting started for help installing the CLI.

  2. In the Promptfoo Enterprise app, select the "CLI Login Information" underneath your profile.

CLI Login Information

  1. Copy the first command and run in your CLI. Your CLI will then be authenticated to Promptfoo Enterprise, allowing you to share eval results run locally.

CLI Login Command

  1. Once authenticated, you can run promptfoo eval --share or promptfoo share to share eval results to your Promptfoo Enterprise organization.

:::tip All of your evals are stored locally until you share them. If you were previously an open-source user, you can share your local evals to your Promptfoo Enterprise organization by running promptfoo share. :::

Authenticating with your organization's account enables team-based sharing, ensuring your evaluation results are only visible to members of your organization rather than being publicly accessible.

Working with Multiple Teams

If your organization has multiple teams, you can manage which team context you're operating in:

Viewing Your Teams

# List all teams you have access to
promptfoo auth teams list

This shows all available teams with a marker (●) next to your current team.

Switching Teams

# Switch to a different team
promptfoo auth teams set "Data Science"

You can use the team name, slug, or ID. Your selection persists across CLI sessions.

Checking Current Team

# View your active team
promptfoo auth teams current

All operations (evaluations, red team scans, etc.) will use this team context until you switch to a different team.