-
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
feat: add token in graphql clients #63
feat: add token in graphql clients #63
Conversation
- refactor the query method - add policies to call the apps b2b-organization and storefront-permissions instead of graphql-server
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖 Please select which version do you want to release:
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
|
Beep boop 🤖 I noticed you didn't make any changes at the
In order to keep track, I'll create an issue if you decide now is not a good time
|
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.
Awesome that we're making sure to pass the auth tokens here 👏
32b81c2
to
07b23ee
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs 30.8% Coverage The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
Your PR has been merged! App is being published. 🚀 After the publishing process has been completed (check #vtex-io-releases) and doing A/B tests with the new version, you can deploy your release by running:
After that your app will be updated on all accounts. For more information on the deployment process check the docs. 📖 |
What problem is this solving?
We found some apps that don't pass the token to call graphql queries or mutations. So we need a guarantee to have all integrations send the token, and we will block unauthenticated requests from the app provider.
How to test it?
_v/private/b2b-checkout-settings/
Workspace
Screenshots or example usage:
Describe alternatives you've considered, if any.
I tried to keep the
sessionToken
, but the apps didn't recognize it, so I used the same structure of API io-clients, got some token, and set it as VtexIdclientAutCookie.