Skip to main content
Version: 25.3

Email

Configure email-based passwordless authentication for Seqera Platform. This is the default authentication method that allows users to sign in using their email address.

Overview

Email authentication provides a passwordless login experience where users:

  1. Enter their email address on the login page
  2. Receive an email containing a temporary access link
  3. Select the link to authenticate and access Platform

New users are automatically registered on their first login if their email address matches the trusted email patterns. The access link contains a time-limited token that expires after use.

Prerequisites

Before enabling email authentication, you need:

  • A configured SMTP server for sending authentication emails
  • Valid SMTP credentials with permission to send emails

Configure SMTP

Email authentication requires an SMTP server to send login links. Add the following environment variables to your Seqera configuration:

VariableDescriptionRequired
TOWER_SMTP_HOSTSMTP server hostnameYes
TOWER_SMTP_PORTSMTP server port (e.g., 587 for TLS, 25 for unencrypted)Yes
TOWER_SMTP_USERSMTP usernameIf authentication is required
TOWER_SMTP_PASSWORDSMTP passwordIf authentication is required
TOWER_SMTP_AUTHSet to true to enable SMTP authenticationNo (default: false)
TOWER_CONTACT_EMAILSender email address for authentication emailsYes
tip

For development, you can use a local SMTP server like Mailpit to test email authentication without sending real emails.

Restrict access

By default, all email addresses are allowed to authenticate. To restrict access to specific email addresses or domains, configure a trusted email list in tower.yml:

tower:
trustedEmails:
- "*@your-company.com"
- "*@partner-company.com"
- "external-user@example.com"

Pattern matching:

  • *@domain.com - allows all emails from the domain
  • *@*.example.com - allows all subdomains
  • user@domain.com - allows a specific email address
  • user+*@domain.com - allows plus addressing (e.g., user+tag@domain.com)

When trustedEmails is not specified, all email addresses are trusted and can create accounts.

See User access allow list for more information.

Disable email authentication

To disable email authentication when other authentication providers (OAuth, OIDC, etc.) are configured, add the following environment variable:

VariableDescription
TOWER_AUTH_DISABLE_EMAILSet to true to disable email-based login
warning

Email authentication can only be disabled when at least one other authentication provider is configured. Users will not be able to log in if email authentication is disabled without an alternative authentication method.