Centralized Better Auth identity, cross-subdomain SSO (.megawebs.com), per-app Free/Pro feature gating, PKCE native auth, and automatic Mac device handoff.
GET /v1/me?app=duodeckSession, tier & feature flagsGET /authorizePKCE / SSO redirect flowPOST /v1/oauth/tokenExchange auth code for Bearer tokenPOST /v1/device-handoffMint 60s single-use Mac handoff codePOST /v1/device-handoff/exchangeAuto-authenticate Mac without re-loginGET /assets/auth-client.jsUniversal browser SDK & <megawebs-auth-bar>