Skip to content

[13.x] Fix Exception Caused by Missing AccessToken Attributes #1829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

hafezdivandari
Copy link
Contributor

Fixes #1827
Closes #1828

This PR fixes an issue where missing AccessToken's attributes may cause exceptions when calling its methods.

Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@hafezdivandari hafezdivandari marked this pull request as ready for review June 12, 2025 15:09
@taylorotwell taylorotwell merged commit 9a3b47b into laravel:13.x Jun 12, 2025
10 checks passed
@hafezdivandari hafezdivandari deleted the 13.x-check-access-token-attrs branch June 12, 2025 15:13
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.

Undefined property: Laravel\Passport\AccessToken::$oauth_access_token_id
2 participants