Skip to content

fix(auth0-server-js): correctly compare scopes before calling auth0 - #40

Merged
frederikprijck merged 3 commits into
mainfrom
fix/compare-scopes
Aug 12, 2025
Merged

fix(auth0-server-js): correctly compare scopes before calling auth0#40
frederikprijck merged 3 commits into
mainfrom
fix/compare-scopes

Conversation

@frederikprijck

Copy link
Copy Markdown
Member

Description

When the order was not identical, the current scope comparison wouldnt work. This PR ensures we compare scopes unrelated to order.

References

Closes #35

Testing

  • 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

Comment thread packages/auth0-server-js/src/utils.ts Outdated
Comment thread packages/auth0-server-js/src/utils.spec.ts
Comment thread packages/auth0-server-js/src/utils.ts Outdated
Comment thread packages/auth0-server-js/src/utils.ts Outdated
@frederikprijck
frederikprijck merged commit 6e27324 into main Aug 12, 2025
4 checks passed
@frederikprijck
frederikprijck deleted the fix/compare-scopes branch February 11, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scope order dependency with getAccessToken

3 participants