You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the web server authentication handler falls back to reading auth tokens from query parameters (?auth=) as a legacy compatibility feature. This poses security risks as credentials can leak through:
Server access logs
HTTP referrer headers
Browser history
Proxy caches
URL sharing
Current Location
The code is in packages/serverpod/lib/src/web_server/web_server.dart around lines 102-115:
authenticationKey ??= queryParameters['auth'];
Proposed Solution
Remove the query parameter fallback and rely only on:
Cookie-based authentication (auth cookie)
Authorization headers
This will improve security by preventing credential leakage while maintaining the more secure authentication methods.
Activity