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?