Authentication Exception Previously handled with a json response #2941
Unanswered
aeniodunmo-vertex
asked this question in
Help
Replies: 2 comments 1 reply
-
|
I don't know how you expect us to fix this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Package
filament/filament
Package Version
v2.0.0
Laravel Version
v9.0.0
Livewire Version
v2.0.0
PHP Version
PHP 8.1.7
Bug description
When using filament with an API project, if Authentication Exception is handled with a json response any call by filament with that exception returns a json response so when trying to access /admin i got a json response of unauthorized which was written for my code.
Steps to reproduce
Relevant log output
{"status":"failed","status_code":"401","message":"You are not authorized"}Beta Was this translation helpful? Give feedback.
All reactions