DEV Community

loading...

Discussion on: How To Use WordPress As An Authentication Provider For Laravel

Collapse
piojo1991 profile image
Piojo1991

hello i can't deploy the app. It is connected to JWT but gives the following error

Spatie\DataTransferObject\DataTransferObjectError
The following invalid types were encountered: expected App\DTO\UserResponse::ID to be of type integer, instead got value null, which is NULL. expected App\DTO\UserResponse::token to be of type string, instead got value null, which is NULL. expected App\DTO\UserResponse::user_email to be of type string, instead got value null, which is NULL.

thanks