Authentication manager for AT Protocol applications.
npm install
npm run devThe dev server runs on http://localhost:3000.
To integrate authentication into your application, redirect users to the auth page:
https://your-domain.com/auth?redirect_uri=https://your-app.com/callback&nonce=YOUR_NONCE
Query Parameters:
redirect_uri(required): URL to redirect to after successful authenticationnonce(required): A nonce that will be returned
- User visits your auth page with
redirect_uriandnonceparameters - User enters their AT Protocol handle (e.g.,
alice.bsky.social) or PDS URL - The app enriches the handle to resolve the PDS URL
- User is redirected to your
redirect_uriwith parameterhint
- Hint will either be a PDS url, or a ATProto handle.
npm run buildnpm run test