In this folder, you'll find examples that will help you understand
how to use @fujocoded/authproto to achieve all your dreams.
- the simplest example: login-logout =>
- Just shows you how to log in/out
- the almost-simplest example: read-bsky-profile =>
- Logged out: Show FujoCoded's Bluesky profile
- Logged in: Show the logged-in user Bluesky profile
- Jokey stretch: get someone to sponsor a paid ad for another service
- Stepping it up: read-write-records =>
- reads and writes records from a PDS
- Add bits scopes here
- Extra: auth-only-pages =>
- restrict pages to logged-in users
- restrict pages to e.g. mutuals
- Redirect configuration
- Custom scopes =>
- Pick exactly which scopes your app asks for, per login
- Re-auth a logged-in user to grant more (or fewer) scopes
- Build your own login form when
<Login />is Not Enough™
// FUTURE // Astro DB?