For the complete documentation index, see llms.txt. This page is also available as Markdown.

Automate authentication configuration

Configure authentication for web targets using AI-driven setup.

Snyk API & Web uses a large language model (LLM) to automatically map a web target's login structure and generate a complete login sequence, including two-factor authentication (2FA). This entirely eliminates the need to manually record browser sessions or configure CSS selectors.

Prerequisites

Configure authentication automatically

In Snyk API & Web, navigate to Target > Settings > Authentication. In the Login Sequence section, click Configure Authentication Automatically.

1

Enter credentials

Enter the authentication values in the corresponding fields:

  • Username or email: the login identifier.

  • Password: the account password.

  • OTP seed: the time-based one-time password seed, when required.

  • Other login credentials: any value the login flow needs, such as a company name or phone number.

Add reusable credentials with the Credential Manager.

2

Add instructions (optional)

For a non-standard or complex login flow, provide natural-language instructions to guide the LLM:

  • Multiple roles: "Sign in as a student."

  • Single sign-on: "Select SSO, then enter the company name."

  • Regional server: "Select the EU server before signing in."

Validate generated output

LLM-generated output is sometimes incomplete or inaccurate, depending on application complexity. Validate the generated login sequence before you scan:

Last updated

Was this helpful?