cancel
Showing results for 
Search instead for 
Did you mean: 

The request is allowed for logged in customer

The request is allowed for logged in customer

Using Magento 2.4 with graphQL

generateCustomerToken API works fine and returns the token. But while using this token in other api like customerCart API it returns an error with message "The request is allowed for logged in customer".
The token passed in header as bearer token.

The same magento code base in local works fine. Is there anything I am missing in server?

 

The application was migrated from a Plesk based server to EC2 Apache2 instance