Closed naramwork closed 1 year ago
I have same error and when I install manualy I have this message :
eclaration of Webkul\GraphQLAPI\Models\User\Admin::getJWTCustomClaims() must be compatible with Webkul\User\Models\Admin::getJWTCustomClaims(): array
at vendor/bagisto/graphql-api/src/Models/User/Admin.php:53
49▕ * Return a key value array, containing any custom claims to be added to the JWT.
50▕ *
51▕ * @return array
52▕ */
➜ 53▕ public function getJWTCustomClaims()
54▕ {
55▕ return [];
56▕ }
57▕ }
Hi @naramwork & @devlamine Please mention your Bagisto version also.
hi, @vivek-webkul v1.4.1
Hi @devlamine
Currently, this project supports Bagisto v1.3.x https://github.com/bagisto/headless-ecommerce#1-requirements
We will provide support for 1.4.x very soon.
Hello, are there maybe any updates for the 1.4.x support?
We are setting up the bagisto laravel shop with a vue storefront and encountered the same error as mentioned by @naramwork .
Thanks
Bagisto - V1.4.3
Checked and Found that the Issue is Fixed and Just what is need to be done just after the bagisto installation run the command
composer require bagisto/graphql-api:dev-main
Video/Screenshot
I'm stuck in this I follow the steps on the docs and always lead to this error
should I install jwt manually ?