Passwordless - Login: invalid token
Request
| Method: | POST |
| Route: | api/auth/passwordless/login |
| Example: | api/auth/passwordless/login |
| Input | Value |
|---|---|
| data | Xw184Kfuij |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| content-length: | 21 |
| content-type: | application/json |
Response
401
JSON
Response Headers
| cache-control: | no-cache, private |
| date: | Tue, 17 May 2022 08:25:50 GMT |
| content-type: | application/json |
| x-ratelimit-limit: | 60 |
| x-ratelimit-remaining: | 59 |
{
"data": null,
"errors": {
"message": "Invalid token"
}
}
Time: 0.25
insert into `users` (`updated_at`, `created_at`) values (?, ?)
Bindings
| 0: | 2022-05-17 08:25:50 |
| 1: | 2022-05-17 08:25:50 |
Time: 0.26
insert into `login_tokens` (`user_id`, `token`, `medium_type`, `medium_handle`, `expires_at`, `section`, `consumed_at`, `callback_url`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings
| 0: | 16 |
| 1: | Xw184Kfuij |
| 2: | phone |
| 3: | (279) 221-7972 |
| 4: | 2022-05-17 08:40:50 |
| 5: | jjBw4A4WVHYAkJQT |
| 6: | |
| 7: | http://www.crist.biz/minima-cupiditate-aliquam-corrupti-suscipit-quasi-magnam.html |
| 8: | 2022-05-17 08:25:50 |
| 9: | 2022-05-17 08:25:50 |
Time: 0.36
select * from `users` where (`phone_verified_at` is not null or `email_verified_at` is not null) and `id` = ? limit 1
Bindings
| 0: | 16 |
Time: 0.32
select * from `users` where (`phone_verified_at` is null or `email_verified_at` is null) and `id` = ? limit 1
Bindings
| 0: | 16 |
Time: 0.29
update `login_tokens` set `consumed_at` = ?, `login_tokens`.`updated_at` = ? where `id` = ?
Bindings
| 0: | 2022-05-17 08:25:50 |
| 1: | 2022-05-17 08:25:50 |
| 2: | 25 |
Time: 0.38
select * from `login_tokens` where `token` = ? limit 1
Bindings
| 0: | Xw184Kfuij |
Request
| Method: | POST |
| Route: | api/auth/passwordless/login |
| Example: | api/auth/passwordless/login |
| Input | Value |
|---|---|
| data | Xw184Kfuij |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| content-length: | 21 |
| content-type: | application/json |