commercetools-php-sdk icon indicating copy to clipboard operation
commercetools-php-sdk copied to clipboard

Support MY endpoints

Open nicolaaretini opened this issue 7 years ago • 1 comments

I'd like to know if you've got a plan (or a date) to release an integration with My * Endpoints feature (HTTP API docs)

e.g. : https://docs.commercetools.com/http-api-projects-me-profile.html

Thanks

nicolaaretini avatar Feb 15 '18 10:02 nicolaaretini

The Me-Endpoints are supported. See https://github.com/commercetools/commercetools-php-sdk/tree/master/src/Core/Request/Me and https://github.com/commercetools/commercetools-php-sdk/tree/master/tests/integration/Me

But lately I didn't invest more time in adding newly introduced features. I would need to redesign how the client authentication against the API is working in order to better support the Me-Endpoints. Reason for that is in order to be able to configure the client correctly for a specific customer I would have to expose the Bearer-Token to the implementing application. This is not inline with the actual architecture where the client manages the authentication as well as the storage of the bearer token.

jenschude avatar Feb 16 '18 09:02 jenschude