A single-user ATProto PDS that runs on a Cloudflare Worker cirrus.earth

fix(oauth-provider): accept query-only granular scopes (#175)

`parseScope` only looked for `:` to find the resource prefix, so valid canonical scopes using the `prefix?query` form (e.g. a multi-collection `repo?collection=a&collection=b` produced by expanding a permission set) were rejected as `Unknown scope resource`. Use the earlier of `:` and `?` as the delimiter, matching `@atproto/oauth-scopes` syntax.


Author Matt Kane Committer GitHub Date Commit Parent 71b988e4
+24 -1
3 changed files
+24 -1
3 changed files