Skip to content

Commit fd5a2f9

Browse files
committed
docs(readme): add a note for n8n production use
1 parent 4184935 commit fd5a2f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ npm run validate:openapi
159159

160160
## Auth Flows
161161
- Local login (session for docs):
162-
- GET `/login` → render form
162+
- GET `/docs` → redirect to `/login`
163163
- POST `/login` → create session, then access `/docs`
164164
- JWT login:
165165
- POST `/auth/login` with `{ "username": "admin", "password": "..." }`
@@ -171,7 +171,7 @@ npm run validate:openapi
171171
- See [Connecting n8n](#connecting-n8n) for setup details.
172172

173173
## Connecting n8n
174-
n8n can integrate with the API via OAuth2 for secure token-based workflows. Use either built-in session/JWT auth or the OAuth2 flow.
174+
n8n can integrate with the API via OAuth2 for secure token-based workflows. Use either built-in session/JWT auth or the OAuth2 flow. If using in production behind a reverse-proxy like traefik, ensure to replace the `localhost` and other docker hostnames with the correct domains.
175175

176176
### Option 1: Basic Auth or Bearer Token (Quick Start)
177177
For development, you can use manual session login or JWT bearer tokens:

0 commit comments

Comments
 (0)