a month ago
Please provide a current Railway staff clarification for HTTPS OAuth routes /oauth/google-mail/start and /oauth/google-mail/callback on faven-api-production.up.railway.app (EU West workload). No real codes, tokens, headers, private logs or repository content are included here.
I have read the staff answer at https://station.railway.com/questions/log-retention-and-data-processing-agreem-223bf7c1: logs are retained 90 days in US West, Hobby 7 days is dashboard visibility, client IP logging cannot be disabled. I am not asking for those facts again. The older automated OAuth answer at https://station.railway.com/questions/o-auth-callback-query-parameters-in-railw-c4e27725 only establishes path-only visible logs and contradicts that retention.
- Are query values (including short-lived code/state) and Authorization/Cookie header values excluded or redacted in ALL applicable edge/proxy, trace/error, observability, internal/support stores, not only dashboard-visible HTTP logs? If retained, which stores and authorized access roles apply, and do the 90-day/US West facts cover them too? Which additional applicable processors/locations are involved?
- Do immediate 303 redirects with no-store/no-referrer, a custom domain, or application callback disablement/restart change platform capture? What containment is recommended for late callbacks while the application rejects them?
Please distinguish verified platform behavior from application responsibility and link current documentation where possible. This is a technical clarification only, not a contract/DPA request or permission to activate processing.
2 Replies
Status changed to Awaiting Railway Response Railway • about 1 month ago
a month ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 1 month ago
a month ago
I can verify the public boundary, but I would not claim an all-internal-stores guarantee without Railway staff/security confirming it.
Verified from current Railway material:
• The current railway logs --http schema exposes method, path, status/timing, requestId, host, user-agent, source IP, edge region, etc. It does not expose a query-string field or arbitrary Authorization/Cookie header values. Railway's earlier OAuth answer also says the customer-visible HTTP log records the path rather than the full URL; deploy logs are application stdout/stderr, and network-flow logs do not contain HTTP content.
https://docs.railway.com/cli/logs
https://station.railway.com/questions/o-auth-callback-query-parameters-in-railw-c4e27725
• Railway Edge Rules define Path as the normalized path without the query string. That is consistent with the public HTTP-log model, but it still describes the product-visible/request-routing surface, not every internal telemetry store.
https://docs.railway.com/networking/edge-rules
• Current Logs docs label the plan windows as Free 3d, Trial/Hobby 7d, Pro 30d, Enterprise up to 90d. The same page says an upgrade can immediately restore logs that were outside the previous plan period, so that table by itself is not proof that underlying copies were physically deleted at day 7. The 90-day/US-West staff statement you linked therefore needs Railway to clarify how it relates to the product retention window.
https://docs.railway.com/observability/logs
• Railway's DPA says primary processing operations take place in the United States and points to the Trust Center as the authoritative current subprocessor list. It also states that Railway operates event logging across platform components, but it does not publish a per-store map showing whether raw OAuth query/header values are collected, where each such store resides, its retention, or the internal RBAC/support roles for it.
https://trust.railway.com/item/subprocessors
What is NOT established by public docs: I found no current Railway document that proves code/state query values or Authorization/Cookie header values are excluded/redacted from every edge/proxy trace, error, internal observability, incident, or support store. The absence of those fields from customer-visible HTTP logs is not enough to make that stronger claim. Railway staff/security would need to confirm (1) whether raw request-target/query or sensitive request headers ever reach any such store, (2) where redaction occurs before persistence, (3) retention/location for those stores, and (4) which internal/support roles can access them.
For the operational questions:
• A custom domain still reaches Railway's edge; the earlier Railway OAuth answer says custom domains do not change the documented logging behavior.
• A 303 plus Cache-Control: no-store / Referrer-Policy: no-referrer is good browser/application hygiene, but it happens after ingress and cannot retroactively change what Railway's edge already observed.
• Disabling/restarting the application can stop application processing/token exchange, but while DNS still routes to Railway, late callbacks still reach the Railway edge. For containment, invalidate the server-side OAuth transaction/state, do not exchange late authorization codes, return a minimal 400/410 response, and ensure the application never logs the raw URL or sensitive headers. If compromise is suspected, revoke affected provider grants/tokens and rotate the OAuth client secret. Removing/disabling the redirect URI/client at the OAuth provider prevents new flows, but does not answer retention for requests that already arrived.
So the safe current conclusion is: the documented customer-visible Railway HTTP logging surface does not contain query-string values or arbitrary Authorization/Cookie header values, but the stronger "excluded/redacted from ALL internal/support stores" statement is not publicly documented and requires a Railway staff attestation.
a month ago
AI disclosure: I used AI to help research and draft this answer. I manually reviewed the claims against the linked current Railway documentation and edited the final response before posting.