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
Yea precisely, the offending route is /log-viewer/api/folders?direction=desc, it needs to use the web middleware and not its own ones otherwise I don't see a way to ACL/secure it properly in production.
hey @dmitryBuzz , did you set the correct APP_URL and LOG_VIEWER_API_STATEFUL_DOMAINS environment variables? The API endpoints don't get authorized if the requests come from unauthorized/unconfigured domain.
@bilogic The session/cookies middleware is started by the EnsureFrontendReqeustsAreStatefuldymanically based on whether the calling domain is allowed access. See the above documentation link.
Activity
bilogic commentedon Jan 21, 2026
Yea precisely, the offending route is
/log-viewer/api/folders?direction=desc, it needs to use thewebmiddleware and not its own ones otherwise I don't see a way to ACL/secure it properly in production.arukompas commentedon Feb 28, 2026
hey @dmitryBuzz , did you set the correct
APP_URLandLOG_VIEWER_API_STATEFUL_DOMAINSenvironment variables? The API endpoints don't get authorized if the requests come from unauthorized/unconfigured domain.See here: https://log-viewer.opcodes.io/docs/3.x/configuration/route-and-domain#production-domains
@bilogic The session/cookies middleware is started by the
EnsureFrontendReqeustsAreStatefuldymanically based on whether the calling domain is allowed access. See the above documentation link.