Empty csrf in Json:api

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!
adityabanerjee
Posts: 44
Joined: 05 Oct 2019, 06:42

Empty csrf in Json:api

Post by adityabanerjee » 18 Dec 2019, 11:52

Hi, I am using "aimeos/aimeos-laravel": "~2019.10.1", "aimeoscom/ai-sites": "^2019.10",,

In all my Aimeos Json:api standard API I am getting empty CSRF values.

Code: Select all

 "meta": {
        "total": 1,
        "prefix": null,
        "content-baseurl": "http://ebdaa-ecommerce-beta.test/",
        "csrf": {
            "name": "_token",
            "value": ""
        }
    },
Could you tell me what could be the reason?

Thank you

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

Re: Empty csrf in Json:api

Post by aimeos » 19 Dec 2019, 07:09

Can you post the request URL and the complete response?
Does it occur always or only for one (some) requests?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply