JSON API AUTH

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
AlbertoAguilera
Posts: 3
Joined: 25 Jul 2019, 23:40

JSON API AUTH

Post by AlbertoAguilera » 29 Jul 2019, 20:36

I'm struggling to setup the jsonadm with laravel passport, cause i want to override the admin frontend and build one with react and use password grant tokens to my users, I added the API middleware to the jsonadm route but it keeps popping the login dialog, can you give us a guideline to extend the guard methods of the jsonadm to work with api middleware. Thanks in advance

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

Re: JSON API AUTH

Post by aimeos » 29 Jul 2019, 21:20

You should ask that question better in a Laravel forum
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
AlbertoAguilera
Posts: 3
Joined: 25 Jul 2019, 23:40

Re: JSON API AUTH

Post by AlbertoAguilera » 30 Jul 2019, 18:24

I just read in the docs that aimeos package doesnt overrides the current auth system, i just added the auth:api middleware to the desired route, it seems to work just going to check everything works fine, thx.

Post Reply