Closed barbara79 closed 4 months ago
🥷 Code experts: jenschude
jenschude has most 🧠 knowledge in the files.
To learn more about /:\ gitStream - Visit our Docs
LGTM 👍
I'm wondering if this is an error of the SDK or of the API 🤔 From the linked issue it seems like an error of the API that you cannot provide scope when there is only 1 scope. If so, this should be updated also in the documentations: docs.commercetools.com/api/scopes. Please clarify 🙏
It's actually a bad practice to use an oauth client with multiple scopes and request a token with a fraction of them. It's always better to create an oauth client with the scopes needed and than just omit the scopes in the oauth request.
LGTM 👍 I'm wondering if this is an error of the SDK or of the API 🤔 From the linked issue it seems like an error of the API that you cannot provide scope when there is only 1 scope. If so, this should be updated also in the documentations: docs.commercetools.com/api/scopes. Please clarify 🙏
It's actually a bad practice to use an oauth client with multiple scopes and request a token with a fraction of them. It's always better to create an oauth client with the scopes needed and than just omit the scopes in the oauth request.
Thanks for the clarification @jenschude !
adding a docblock in the ClientCredential class class https://commercetools.atlassian.net/jira/software/c/projects/DEVX/boards/386?selectedIssue=DEVX-404