atproto made easy crates.io/crates/jacquard

oauth: always write the audience of rpc scopes #72

Open okami.mom
targeting main from okami.mom/jacquard:spec-fixes-stack
Open opened by and assigned to okami.mom
targeting main from okami.mom/jacquard:spec-fixes-stack

to_string_normalized dropped ?aud=*, writing rpc:. The spec says aud is "always required in granular string representation", and the reference server ignores rpc scopes without it, so these scopes were silently never granted.

Commits 3

oauth: always write the audience of rpc scopes
lexicon, oauth: follow the spec for permission-set rpc audiences
oauth: parse repo scopes that name collections with the collection parameter