Login
This section describes certain issues you might face while logging into PactFlow and explains how to resolve them.
Unable to login into PactFlow user interface
When you sign up for PactFlow, you will be emailed the login details with a temporary password. This password is valid for 7 days. If you need to reset the password, you can reset the clock on this expiry by simply re-inviting the user. Alternatively, [contact us (https://support.smartbear.com/pactflow/message/) and we will reset it for you.
Github login error
If you get an invalid_grant: {"error":"invalid_grant"}
error while logging into PactFlow using Github, clear your browser cookies before logging in again.
Getting a 401 Unauthorized when publishing or verifying pacts
The most common reasons for API authentication failures are:
- Using an old version of Pact library that does not support the PactFlow authentication scheme (bearer token authentication).
- To resolve this, make sure you are using the latest Pact library version for your language.
- Attempting to access the API with a username and password instead of an API token.
- To resolve this, please see the section on configuring your API token
- Using a read-only token instead of a read/write token.
- To resolve this, please see the section on configuring your API token and ensure you have copied the read/write token.
Additionally, on September 11 of 2023, the basic authentication feature for legacy plans was decommissioned. See the guide on upgrading to a supported authentication mode.