Skip to content

Conversation

@hafezdivandari
Copy link
Contributor

Fixes #1868

This PR fixes an issue where using a valid client-credentials token on an auth:api guarded endpoint accidentally may triggers a database type mismatch, causing a 500 error instead of the expected 401.

This PR also fixes a few PHPDoc types.

@taylorotwell taylorotwell merged commit 98173ac into laravel:13.x Nov 21, 2025
10 checks passed
@hafezdivandari hafezdivandari deleted the 13.x-fix-catch-guard-exception branch November 22, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TokenGuard throws 500 when Client Credentials token ID type (UUID) mismatches user model ID type (int)

2 participants