-
Notifications
You must be signed in to change notification settings - Fork 303
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
token with id #143
Comments
Please see #136 |
So should we remove the id in our code? |
Yes |
What was this 'Yes' response to?
or
Do we send the Bearer token with ID, or do we need to remove the ID and pipe? |
That was to
|
sanctum/src/HasApiTokens.php
Line 52 in 3a06f99
according to line above when I want create new token , it return me token with ID but it another computer it return without id.
when I test Bearer token with id it faild but when I remove id it works.
why the id attached to token?
=> Laravel\Sanctum\NewAccessToken {#4592 +accessToken: Laravel\Sanctum\PersonalAccessToken {#4681 name: "test", abilities: "["*"]", tokenable_id: 2, tokenable_type: "App\User", updated_at: "2020-05-18 07:54:16", created_at: "2020-05-18 07:54:16", id: 63, }, +plainTextToken: "63|rWkz6zVJrdb6sHcc3gyotazsroTelysKbRFPFtpcsmE2NC9R50LakS4kZS5YrnAh7b4UkcddZRPsicsL", }
The text was updated successfully, but these errors were encountered: