Built-in browser does not support basic auth

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hi.
Built-in browser does not show user/password prompt when a website asks for it.
Instead it shows a 401 Forbidden custom screen.

Steps to Reproduce

Open browser in Cursor
Go to https://testpages.eviltester.com/pages/auth/basic-auth/basic-auth-results.html

Expected Behavior

Shows a user/password prompt and uses it for basic auth

Operating System

MacOS

Version Information

Version: 2.6.22
VSCode Version: 1.105.1
Commit: c6285feaba0ad62603f7c22e72f0a170dc8415a0
Date: 2026-03-27T15:59:31.561Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi Alex, thanks for reporting this!

It’s not ideal, but there’s a workaround: you can embed the credentials directly in the URL, like:

https://username:[email protected]/protected-page

So in your example above it would be:

https://authorized:[email protected]/pages/auth/basic-auth/basic-auth-results.html

Let me know if this works for you!

1 Like