Skip to content

Commit 03c79c6

Browse files
lgelauffclaude
andcommitted
docs(dev): clarify local login flow in debug mode
The login button triggers OAuth which doesn't work locally. Developers need to navigate to /complete_login directly to establish their session. Verified working locally (redirects to localhost:5173, sets cookie). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e61601f commit 03c79c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Edit the `.env` file to match your development environment. By default, it's con
5858
Montage uses MediaWiki OAuth for authentication. There are two modes for local development:
5959

6060
**Default (dev/debug mode) -- no setup required:**
61-
The backend runs with `debug: True` (the default in `config.default.yaml`). In this mode, the OAuth handshake is bypassed entirely and you are automatically logged in as `Slaporte`. This is sufficient for most frontend and backend development.
61+
The backend runs with `debug: True` (the default in `config.default.yaml`). In this mode, the OAuth handshake is bypassed entirely. To establish your session, navigate directly to `http://localhost:5001/complete_login` — this sets the session cookie and redirects you to the frontend. You will be logged in as `Slaporte`. Do not use the login button on the frontend; it triggers the OAuth flow which does not work locally.
6262

6363
**Real OAuth (optional) -- for testing the actual login flow:**
6464
If you need to test the real OAuth login/logout flow, you need to register an OAuth consumer:

0 commit comments

Comments
 (0)