Skip to content

Conversation

@pmalouin
Copy link
Contributor

Description

When an already-authorized connected accounts has for example scopes A, B, C, and the withTokenVault() declaration is requesting C, D, the TokenVaultInterrupt.requiredScopes should include the union of those two sets. Currently, C would be duplicated.

References

Include any links supporting this change such as a:

  • GitHub Issue/PR number addressed or fixed
  • Auth0 Community post
  • StackOverflow post
  • Support forum thread
  • Related pull requests/issues from other repos

If there are no references, simply delete this section.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@pmalouin pmalouin marked this pull request as ready for review November 11, 2025 21:17
@pmalouin pmalouin merged commit 90d9bb3 into main Nov 12, 2025
2 checks passed
@pmalouin pmalouin deleted the token-vault-interrupt-required-scopes branch November 12, 2025 15:49
@github-actions
Copy link

🎉 This PR is included in version @auth0/ai-v5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants