Skip to content

Collapse scopes - we only support one or the other (write includes read)#13887

Merged
rickyrombo merged 3 commits intomainfrom
mjp-collapse-scopes
Mar 11, 2026
Merged

Collapse scopes - we only support one or the other (write includes read)#13887
rickyrombo merged 3 commits intomainfrom
mjp-collapse-scopes

Conversation

@rickyrombo
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2026

⚠️ No Changeset found

Latest commit: d7a3b34

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the web OAuth login page’s query parsing to normalize incoming OAuth scope values when multiple scopes are supplied (notably from Swagger UI), so the flow can proceed with a single effective scope.

Changes:

  • Added a collapseScopes helper to reduce space-separated scope strings (and some array cases) to a single effective scope.
  • Updated useParsedQueryParams to parse scope as rawScope and then derive scope via collapseScopes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rickyrombo and others added 2 commits March 10, 2026 19:08
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rickyrombo rickyrombo merged commit 7127ed2 into main Mar 11, 2026
4 checks passed
@rickyrombo rickyrombo deleted the mjp-collapse-scopes branch March 11, 2026 02:09
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-13887.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

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