-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEVX-404 adding a docblock in the clientcredential #319
Conversation
🥷 Code experts: jenschude jenschude has most 🧠 knowledge in the files. See details
Knowledge based on git-blame: To learn more about /:\ gitStream - Visit our Docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: https://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. |
languages/php/src/main/kotlin/io/vrap/codegen/languages/php/base/PhpBaseFileProducer.kt
Outdated
Show resolved
Hide resolved
…se/PhpBaseFileProducer.kt Co-authored-by: Jens Schulze <[email protected]>
Thanks for the clarification @jenschude ! |
languages/php/src/main/kotlin/io/vrap/codegen/languages/php/base/PhpBaseFileProducer.kt
Outdated
Show resolved
Hide resolved
…se/PhpBaseFileProducer.kt
adding a docblock in the ClientCredential class class https://commercetools.atlassian.net/jira/software/c/projects/DEVX/boards/386?selectedIssue=DEVX-404