Basic authentication
  • 09 Aug 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light

Basic authentication

  • Dark
    Light

Article summary

You can set up Basic authentication on a per-domain basis.

How to set up Basic authentication

Click [Settings] and choose the workspace you want to set up Basic authentication for. "Basic auth credentials" will appear at the bottom of the page.

2022-10-14_14-49-34.png

Click [Add]. A New Basic Auth Credentials Page will appear, where you will be prompted to enter the domain name, username, and password. Enter the information and click [Save].

Not displayed?

Only Workspace Managers are able to configure Basic authentication.

2. If setting up on a per-domain basis does not work

Currently, you can only set up Basic authentication on a per-domain basis, so if you need to set it up on a different granularity, please send us feedback using the Contact Us feature on the lower right corner of the page. When you do so, please tell us your preferred setup.

For example, setting up Basic authentication on a per-domain basis will not work in the following cases:

  • The username and password for https://example.com/A/ is user_a / password_a
  • The username and password for https://example.com/B/ is user_b / password_b

Although this is not a highly recommended solution, you may be able to run tests in the following way.
As shown in the example below, set up the "start URL" so that information for Basic authentication is included (this method also works for Digest authentication).

  • https://user_a:password_a@example.com/A/

There are three points to keep in mind when using this method:

  1. The test will not work if you assign a URL like this to a domain that already has Basic authentication set up. Please use either solution described above.
  2. Some JavaScript methods do not work due to security issues, which may affect the website's behavior.
  3. For security reasons, Safari does not accept this solution as of September 11, 2020. It may also be banned on other browsers in the future.

3. Other notes

  • If you have registered the Basic authentication information in workspace settings but authentication does not take place on the target website, the test execution engine will run as usual. Error messages will not appear on test results, so you cannot test whether Basic authentication is working on the target website.
  • There is currently no limit to the number of Basic Authentications that can be set up in Autify. Please set as many as you need.
  • Using a wildcard (*) in the domain name, such as "*.autify.com," will cause the local replay to fail.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.