---
updatedAt: 2026-09-23T10:55:40.000Z
agentTools:
  projectIndex: https://docs.brightsec.com/llms.txt
---

# Configuring Recorded Browser-Based Form Authentication

Before following the instructions below, ensure that your application and authenticated resources are accessible to the Bright engine, either directly from the Internet or via the Repeater.

The recorded browser-based form authentication method allows you to create/use a recorded session. The recording contains browser interactions (e.g.: clicks, form values population, navigation) which are replayed by our engine.

# Recording/uploading a new login session

To record your login session, follow these steps:

1. Open the **Authentications tab** on the left menu and click **+Create authentication**:

   ![](https://files.readme.io/6cfb1d255328eac3c73313ec6076034b33b37b42585be7a66cb6e0d59e7ef9cc-image.png)

2. Specify the required details: enter your **Authentication name** (this name aims to provide context when selected later while defining a discovery or a scan). **Select a Project** from the available projects and a Reapeater, if needed:

   <Image src="https://files.readme.io/ab9cfe528452d2843782ea470baa086a4eeac6d0316d82e60f45f2c2ee2ee864-3.png" align="center" width="550px" />

3. Enter the target's address in the **Protected resource details** section to proceed:

   <Image src="https://files.readme.io/9bcd4bb2d7c6db2c01fe1efda64bd7c37e4b67c2d08ff69be7cf2d8b2b6382f8-4.png" align="center" width="550px" />

4. Select the next tab in the flow called **Auth flow setup**. In the Authentication type field, select the **Recorded browser-based form authentication**:

   <Image src="https://files.readme.io/4549173f3839ea314940db22d63650ffc9afa120e3c610e232f05e031bd0fe6a-5.png" align="center" width="650px" />

5. Select either **Record with Bright** to use our built-in recorder, or **Upload JSON File** to upload your own recording.<br />To learn more, see [Bright Authentication Recorder](https://docs.brightsec.com/docs/bright-authentication-recorder), or [Google Chrome DevTools](https://docs.brightsec.com/docs/google-chrome-devtools).

   <Image src="https://files.readme.io/12802baba02004652a2fee6cd5f9c707ad7410af1a2d19e3fe4f7d52bebb31df-6.png" align="center" />

# Editing a recorded login session

Bright app allows you to edit the values captured as part of a recording without having to create a new recording.

To do so, click the **Edit** button in the **Auth flow setup** step:

![](https://files.readme.io/6d9fd6a7583700db9326ded502fbe499e4b3e2163bf009102718c66d29671cfa-image.png)

* **Field value:** You can edit the authentication field value, such as username or password.
* **Page Timeouts:** Adjust how long each page waits before timing out (from 1 to 120 seconds) to address slow page loading speed.
* **One-Time Passwords:** Append one-time passwords (OTP) generated by the OTP Generation settings under the Advanced tab by entering the marker `{{auth_object.otpToken}},` replacing the static OTP saved by the page recording (e.g. `763041`).

![](https://files.readme.io/aa9e6ee3061f29e20354bc62c04ab824d21723b81ace5a2a77b3253a2210e16e-image.png)

# Protecting fields as secrets

To protect input fields as secrets, click **Manage Masked Fields**, select the fields you want to protect and confirm by clicking on **Save Masked Fields**.

Marked fields will require the **unmask-password** scope to be able to present the value.

![](https://files.readme.io/c7cfb79b34182367e06bd253fe3e355c0a3b0aaf194141bcb4063c39d24b97a5-image.png)

#

# Advanced Authentication Editor

The Advanced Authentication Editor provides a step-based interface for viewing and managing authentication flows.

Instead of editing the entire authentication flow as a single JSON block, each authentication step is displayed separately. This makes complex flows easier to understand and reduces the risk of syntax errors, accidental changes, or lost values.

![](https://files.readme.io/baa8b494016c3bdb4e3789db8c689128edee787d183288fa678d11502656536e-image.png)

## Manage Authentication Steps

Use the Advanced Editor to:

* View each authentication step separately.

* Add new steps.

* Edit, copy, or delete existing steps.

* Drag and drop steps to change their order.

* Save changes or revert unsaved updates.

* View validation errors when the JSON is invalid.

## Sensitive Values

Sensitive values can be masked to prevent them from being exposed in the editor.

Use the available controls to show or hide a value and configure whether it should remain masked.

## Permissions

Editing requires the `auth-objects:write` permission.

Users without this permission can view the authentication flow in read-only mode but cannot change its steps or values.

# Deleting a login session

If you decide to record a new file, click the **X button** to delete the uploaded recording.

![](https://files.readme.io/c8557f89a6be4fafe3903d193c23bfd196f73d00ef69425b55caeaab3935a52b-image.png)