how to authenticate with react and do shop configuration???
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
how to authenticate with react and do shop configuration???
Hi team,
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.10
Environment: Linux
I am working on with aimeos project. My frontend in React. I am using the Aimeos JSONAPi. In few areas I am confused.
1. How to authenticate the user and process checkout when user is logged in?? In frontend I am using react. I wrote a login api seems it doesn't serve purpose. Not sure what I am missing.
2. Is it possible to implement social login with facebook and google??
3. Also I am trying to get products from nested category when visiting parent category. Same as category when I clicking on a single category i would like to get all nested category list in one single query. In documentation i see the configuration guideline. But not sure how to write in config/shop.php file. Here is the documentation: https://aimeos.org/docs/2021.x/config/c ... ct/#levels
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.10
Environment: Linux
I am working on with aimeos project. My frontend in React. I am using the Aimeos JSONAPi. In few areas I am confused.
1. How to authenticate the user and process checkout when user is logged in?? In frontend I am using react. I wrote a login api seems it doesn't serve purpose. Not sure what I am missing.
2. Is it possible to implement social login with facebook and google??
3. Also I am trying to get products from nested category when visiting parent category. Same as category when I clicking on a single category i would like to get all nested category list in one single query. In documentation i see the configuration guideline. But not sure how to write in config/shop.php file. Here is the documentation: https://aimeos.org/docs/2021.x/config/c ... ct/#levels
Re: how to authenticate with react and do shop configuration???
The best option is to use JSON Web Tokens (JWT) for authentication. The Aimeos headless distribution has already included it for login:
https://github.com/aimeos/aimeos-headle ... n-rest-api
Laravel offers Socialite, a package for social login:
https://laravel.com/docs/10.x/socialite
You have to check how this works with JWT.
Here it's documented how you have to add the configuration to PHP files like in Laravel's ./config/shop.php:ridoywsit wrote: ↑09 Feb 2024, 02:32 3. Also I am trying to get products from nested category when visiting parent category. Same as category when I clicking on a single category i would like to get all nested category list in one single query. In documentation i see the configuration guideline. But not sure how to write in config/shop.php file. Here is the documentation: https://aimeos.org/docs/2021.x/config/c ... ct/#levels
https://aimeos.org/docs/latest/laravel/ ... figuration
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star