Skip to content

fix(oauth): filter unsupported scopes before parsing#203

Open
andrewsouthard wants to merge 1 commit into
ascorbic:mainfrom
andrewsouthard:fix/scope-parse-filter-unrecognized
Open

fix(oauth): filter unsupported scopes before parsing#203
andrewsouthard wants to merge 1 commit into
ascorbic:mainfrom
andrewsouthard:fix/scope-parse-filter-unrecognized

Conversation

@andrewsouthard

@andrewsouthard andrewsouthard commented Jul 12, 2026

Copy link
Copy Markdown

Problem
Unsupported OAuth scopes throw instead of filtering them out.

Fix
Use isAtprotoOauthScope to filter scopes before parsing. This allows us to remove some parsing code added to handle invalid and malformed scopes.

Testing

  • Updated unit tests
  • Deploy changes to my PDS, login to postgame. This failed on v0.18, it works with the patch applied.

Fixes issue #198

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.

1 participant