Demo Auth
Warning
PactFlow On-Premises 1.x is now in maintenance mode and receives security updates only. It will no longer be supported after March 11, 2026.
To benefit from the latest features and improvements, upgrade to version 2.x as soon as possible.
To allow experimentation with PactFlow On-Premises without the need to configure an external identity provider, the "demo" authentication provider can be enabled. With demo auth enabled, any user can log in to PactFlow On-Premises by providing a name and email address. No password is used to authenticate the user.
The first user to log in will be assigned the Administrator role, and every user thereafter will receive the default (User) role.
After a user has logged in, they may perform all the actions their role allows, as if they were a user created via a real identity provider.
Caution
This method of authentication is NOT secure and should not be used in production.
Demo auth replaces the basic auth capability that was previously used for this purpose.
Configuration
See the Demo section of the environment variables page. Demo auth cannot be enabled at the same time as any other method of authentication (ie. SAML).
Converting to a production IDP
Demo authentication cannot be enabled at the same time as a real authentication provider (eg. SAML). We recommend starting with a clean database when installing PactFlow On-Premises for production use. This will ensure no demo users remain in the system.
Docker Compose example
This Docker Compose example is configured using Demo Auth.