@openauthjs/example-client-astro
The files to note are - `src/auth.ts` - creates the client that is used to interact with the auth server - `src/middleware.ts` - middleware that runs to verify access tokens, refresh them if out of date, and redirect the user to the auth server if they ar