Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

omidwolf's avatar

returned unauthorized api requests via Inertia insteed

I`m using Inertiajs (web) and passport (Api). when I use Api in unauthorized user returned data via Inertiajs insteed and did not return 401. what do I have to do?

0 likes
0 replies

Please or to participate in this conversation.