Automate authentication configuration
Configure authentication for web targets using AI-driven setup.
Last updated
Was this helpful?
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.
Enable AI capabilities for your account. For details, visit Enhancing your security with AI.
Ensure the web target uses a login sequence.
In Snyk API & Web, navigate to Target > Settings > Authentication. In the Login Sequence section, click Configure Authentication Automatically.
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.
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."
Do not enter credentials into the instructions field. Use the dedicated credential fields so Snyk does not send sensitive information to the LLM.
LLM-generated output is sometimes incomplete or inaccurate, depending on application complexity. Validate the generated login sequence before you scan:
Confirm that authentication succeeds. Navigate to Test target configuration.
If the sequence is incorrect, add additional instructions or manually configure login steps. Navigate to Configure the login sequence.
Last updated
Was this helpful?
Was this helpful?

