Api Authentication
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!
-
- Posts: 44
- Joined: 05 Oct 2019, 06:42
Api Authentication
Hi,
I have added a Laravel passport to my installation. Now I wanted to secure the API routes of aimeos. To do that I would be adding the auth:api middleware. So I wanted to know where shall I add this middleware to the aimeos routes?
Regards
I have added a Laravel passport to my installation. Now I wanted to secure the API routes of aimeos. To do that I would be adding the auth:api middleware. So I wanted to know where shall I add this middleware to the aimeos routes?
Regards
Re: Api Authentication
Simply add the middleware to the configuration:
https://github.com/aimeos/aimeos-larave ... op.php#L15
https://github.com/aimeos/aimeos-larave ... op.php#L15
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