Skip to content

feat: add support for repo:* wildcard scope in OAuth validation#56

Open
bigmoves wants to merge 1 commit into
graze-social:mainfrom
bigmoves:feature/repo-wildcard
Open

feat: add support for repo:* wildcard scope in OAuth validation#56
bigmoves wants to merge 1 commit into
graze-social:mainfrom
bigmoves:feature/repo-wildcard

Conversation

@bigmoves
Copy link
Copy Markdown
Contributor

Allows repo:* as a wildcard scope that matches any repo-prefixed scope.

For example, setting supported scopes to "atproto repo:*" allows "atproto repo:com.example.post repo.com.example.comment"

  • Modified scope validation in client registration, PAR, and OAuth authorize endpoints
  • Added tests for wildcard scope validation
  • Maintains backward compatibility with explicit scope lists

Allows repo:* as a wildcard scope that matches any repo-prefixed scope.

- Modified scope validation in client registration, PAR, and OAuth authorize endpoints
- Added comprehensive tests for wildcard scope validation
- Maintains backward compatibility with explicit scope lists
@bigmoves bigmoves force-pushed the feature/repo-wildcard branch from 3d729b7 to f169ceb Compare September 18, 2025 21:55
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