Skip to content

[STR-788] Feat/get authenticated user#684

Merged
iago1501 merged 7 commits intomasterfrom
feat/getAuthenticatedUser
Dec 17, 2025
Merged

[STR-788] Feat/get authenticated user#684
iago1501 merged 7 commits intomasterfrom
feat/getAuthenticatedUser

Conversation

@iago1501
Copy link
Copy Markdown
Contributor

@iago1501 iago1501 commented Oct 27, 2025

What problem is this solving?

This PR adds a new GraphQL query authenticatedUser that allows checking if a user is authenticated with the endpoint:

/api/vtexid/user/info

This new query provides a way to:

  • Check user authentication status programmatically
  • Get user information (email, userId, locale) when authenticated

How to test it?

  1. Access the workspace

  2. Open GraphQL IDE

  3. Test the new query:

query {
  authenticatedUser {
    user
    userId
    locale
  }
}

Workspace

image

Related to / Depends on

How does this PR make you feel? 🔗

@iago1501 iago1501 self-assigned this Oct 27, 2025
@iago1501 iago1501 requested a review from a team as a code owner October 27, 2025 17:10
@iago1501 iago1501 removed the request for review from a team October 27, 2025 17:10
@vtex-io-ci-cd
Copy link
Copy Markdown
Contributor

vtex-io-ci-cd bot commented Oct 27, 2025

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:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot
Copy link
Copy Markdown

vtex-io-docs-bot bot commented Oct 27, 2025

Beep boop 🤖

I noticed you didn't make any changes at the docs/ folder

  • There's nothing new to document 🤔
  • I'll do it later 😞

In order to keep track, I'll create an issue if you decide now is not a good time

  • I just updated 🎉🎉

@iago1501 iago1501 changed the title Feat/get authenticated user [STR-788] Feat/get authenticated user Oct 27, 2025
@iago1501 iago1501 requested a review from rafarubim December 1, 2025 18:49
rafarubim
rafarubim previously approved these changes Dec 3, 2025
@iago1501 iago1501 merged commit ee1adaf into master Dec 17, 2025
8 checks passed
@iago1501 iago1501 deleted the feat/getAuthenticatedUser branch December 17, 2025 16:55
@vtex-io-ci-cd
Copy link
Copy Markdown
Contributor

vtex-io-ci-cd bot commented Dec 17, 2025

Your PR has been merged! App is being published. 🚀
Version 2.173.2 → 2.174.0

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:

vtex deploy vtex.store-graphql@2.174.0

After that your app will be updated on all accounts.

For more information on the deployment process check the docs. 📖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants