Browser login for API targets
Snyk API & Web now supports browser login for Postman and Bruno API targets. Snyk replays a browser-based sign-in at scan time, extracts the session credential, and attaches it to your collection requests. Two-factor authentication (2FA) is supported.
Some applications issue access tokens only through a browser session, such as OAuth 2.0 Authorization Code, SAML, or SSO with an external identity provider. There is no static API key to configure or dynamic token to retrieve through an endpoint, and tokens created ahead of time expire before scheduled scans run. Browser login solves this: authenticated API scans can now run on a schedule without manual token refresh.
You’ll find the new Browser login option under Settings > Authentication on Postman and Bruno API targets. We’ve also refreshed the authentication page, grouping the options into Collection-defined login, Browser login, and Logout detection so they’re easier to find.
To learn more, visit Browser login for APIs in our user documentation.
Natalia Yurchenko | Senior Product Manager