Login form in custom javascript frontend

How to configure and adapt Aimeos based shops as developer
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!
User avatar
AlbertPratomo
Posts: 4
Joined: 07 Jan 2021, 10:58

Login form in custom javascript frontend

Post by AlbertPratomo » 12 Jan 2021, 16:20

Hi,

I'm building a custom javascript frontend that uses Aimeos backend. In my frontend I have a login form, through which the customer can login.

Which JSON API endpoint can I use to login the customer? Or maybe a controller / manager to do this?

User avatar
AlbertPratomo
Posts: 4
Joined: 07 Jan 2021, 10:58

Re: Login form in custom javascript frontend

Post by AlbertPratomo » 12 Jan 2021, 17:18

By the way I'm using Aimeos with Laravel 8.

Is there a way where I can see the code for this demo page? https://laravel.demo.aimeos.org/login

That might be a nice inspiration.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Login form in custom javascript frontend

Post by aimeos » 13 Jan 2021, 09:25

Login, registration and password forget isn't handled by Aimeos but by the host application instead (Laravel in your case). The login form in the demo is the standard Laravel login. Please check the Laravel documentation how you can login via API (I think you need Laravel Fortify or Sanctum packages for this).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply