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

Omda's avatar
Level 1

Telescope Not Logging After JWT Authorization and Gate/Policy Implementation

I recently implemented JWT authentication in my Laravel application using the tymon/jwt-auth package, alongside Gates and Policies for role-based access control. I also use a modular approach with Nwidart.

Here's the issue: Telescope no longer logs requests for APIs that require authorization. However, 404 errors are still being logged. Strangely, Telescope works fine for APIs that don't require authorization, and the main APIs (without authorization) log as expected.

I'm trying to understand why Telescope doesn't log requests after authorization is applied. Could it be related to how authorization is processed, or is something missing in my setup?

Any insights or advice would be greatly appreciated!

Some info may help:

  • env is local
  • I'm using multi guard
  • laravel/framework: ^7.30.6
  • telescope: 3.5.1
0 likes
0 replies

Please or to participate in this conversation.