Replies: 4 comments 1 reply
-
Hi @peroxovy , What's defined in the Is this error coming from initial page load, or do you at least see the skeleton of Log Viewer and the files are not loading? Is Log Viewer on the same domain as your main app? Are you sure browser cookies are sent to this request as expected? Check browser's Network tab to see what request headers are sent and ensure the Laravel session cookie is part of it for all requests (both initial request and the follow-up XHR requests). Let me know what you find! :) |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. the route I have logged in as super_admin.
or
the middlewares in config :
also have tried :
same result. the log-viewer page is loaded, but the folders are not loaded. it shows "Request failed with status code 403: Unauthorized." message at the top left. trying to figure it out but haven't found. |
Beta Was this translation helpful? Give feedback.
-
Ok, here is more from me and what i've found. My app using 2 filamentphp login panel in one app and use I found the call_user_func, That's all I've found so far. I don't know if the 2 filamentphp login can cause this error, it seems the auth session is not shared to log-viewer ? 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
I have added (edited) I remove this reference: |
Beta Was this translation helpful? Give feedback.
-
I've encountered an issue during setting up it on production.
Receiving either
Request failed with status code 403
or403
directly.I've published a config and I've put my custom middleware to it:
My middleware for test case is passing through every time:
And it still returns
403
.Trying to set it like in docs: Via "auth" callback or Via "viewLogViewer" Gate also fails, because when I want to retrieve
$user->username
it returnsnull
.My
AuthServiceProvider.php
:My
AppServiceProvider.php
:Unfortunately it does not even work when I try to get any other of the properties...
Any idea how I can progress with that issue?
Laravel version: 9.52.16
Log-viewer version: 3.14.0
Beta Was this translation helpful? Give feedback.
All reactions