| @fujocoded/authproto | minor |
|---|
Add scoped login controls, an Authorize component for requesting extra permissions after login, and helpers for building ATProto permission scopes.
- Login and logout now default to returning users to the referring page instead
of
/. Setredirects.afterLoginandredirects.afterLogoutto/to keep the old behavior. <Login />no longer defaults the input placeholder tohandle.bsky.social; passplaceholder="handle.bsky.social"if you want that exact prompt.Astro.locals.loggedInUsernow includes a requiredscopesarray. Update tests, mocks, and custom local assignments to includescopes: []when no grants are needed.