Testing accounts
Configure application credentials, generated accounts, and sign-in verification inputs.
Testing accounts belong to the application being assessed. They are separate from the account you use to sign in to Stray Platform.
Add accounts in the creation wizard's Testing accounts step. To manage them later, open Context, find the authentication extension, and choose Configure. You need project write access to change this configuration.
Add an existing account
Create a dedicated test account in your application, then choose Add account in the Platform. Add one account for each role or tenant you want represented, such as tenant-a-user and tenant-b-admin.
| Field | Required? | Value and behavior |
|---|---|---|
| Profile | Optional for an existing account | A unique label within the project. A blank value becomes default, so only one account can leave it blank. |
| Role | Yes | A nonempty description such as user or admin; initially user. This describes the application's role, not a Platform permission. |
| Username | Yes | The username or email used to sign in to the target application. |
| Password | Yes | The account's password. The current form requires it even when you provide a magic sign-in link. |
| Magic sign-in link | No | A complete http:// or https:// URL. Use a fresh link; single-use links may stop working after they have been consumed. |
Save or confirm each account, then save the configuration. In the creation wizard, finish or cancel the account editor before selecting Next, Previous, or Skip.
Screenshot placeholder: Testing account fields
Profile, role, username, password visibility control, and optional magic sign-in link.
Use a generated account
Choose Add auto-generated account, provide a profile name and role, and confirm. A generated account requires a nonempty profile name. The Platform supplies its email address and password and can receive sign-in codes and links sent to that address.
Generating credentials does not by itself register the account in your application. Use the generated address and password when registering at the target, or explicitly enable automatic account creation below.
In an existing project, save other account edits before adding a generated account. Once generated, its profile, email, and password are read-only in the form; its role remains editable.
If account generation fails during project creation, choose Retry failed accounts or Open project. The project and accounts that succeeded have already been saved.
Configure sign-in pages
| Field | Required? | What to supply |
|---|---|---|
| Login page | No | The full URL of the application's sign-in page, such as https://app.example.com/login. |
| Refresh page | No | The full URL used by your application to refresh or renew authentication, if applicable. Otherwise leave it blank. |
These pages are shared by the project's testing-account configuration.
Configure authentication behavior
The current UI labels this section Agent behavior. These controls govern authentication during an assessment.
| Setting | Default | Accepted value and effect |
|---|---|---|
| Allow account creation | Off | Enables creating identities and registering them at the target. Leave it off when only your supplied accounts should be used. |
| Max accounts | 3 | Whole number from 0 to 20. Sets the allowed number for automatic account creation. The field appears when account creation is enabled. |
| Email wait timeout (s) | 120 | Whole number from 10 to 900 seconds for waiting for a sign-in email. |
| Paste wait timeout (s) | 600 | Whole number from 60 to 3600 seconds for waiting for your input. |
| Allow one resend-code retry | On | Allows one resend attempt while waiting for an email. |
Adding a generated account yourself and allowing automatic registration are separate choices. Review both before running authenticated testing.
Screenshot placeholder: Authentication settings
Login and refresh pages, account-creation switch, and timeout controls.
Answer a request during testing
- Open Notifications in the Platform header when a request appears.
- Select it to open the relevant project context, threat model, or test.
- Read the question, account profile, and remaining time.
- Enter the requested code, full sign-in link, or text answer, then select Submit.
The inline panel is labeled Agent is asking. Respond to the specific request; a verification code and a full magic link are different inputs. You need write access to submit an answer. Dismissal closes a request without supplying an answer, and an expired request may require another authentication attempt.
Screenshot placeholder: Verification request
The notification and inline input panel, including its countdown and Submit action.
Remove saved testing credentials when the engagement ends, and revoke or delete the corresponding test accounts in your application. Removing a configuration entry in the Platform does not delete the account at the target.
Last updated